Commit 142cf45f authored by Vincent De Bussy's avatar Vincent De Bussy

3eme commit : nettoyage des donnees et debut du comptage des UVs

parent eb5aee63
#!/bin/bash #!/bin/bash
grep -e "^\s[A-Z][A-Z][0-9][0-9]" -r data/api_init_projet_EdT/EdT/Data/*.edt >> donnees.txt
cut -d ':' -f 2-6 donnees.txt > donnees2.txt
cut -c 2- donnees2.txt > donnees3.txt
#grep -E [2*[:alpha:]] & [2*[:digit:]] -r data/api_init_projet_EdT/EdT/Data/*.edt cut -c 1-4 donnees3.txt >donnees4.txt
uniq -c donnees4.txt > donnees5.txt
grep -e "^\s[A-Z][A-Z][0-9][0-9]" -r data/api_init_projet_EdT/EdT/Data/*.edt
#grep -E "[15*[:digit:]]" -r data/api_init_projet_EdT/EdT/Data/*.edt
sort donnees5.txt | cut -c 8- >>donnees6.txt
uniq -c donnees6.txt > donnees7.txt
cat donnees7.txt
#cat donnees5.txt | awk '{print $2}' | sort | uniq -c
#cat donnees5.txt | cut -c 8- | sort | uniq -c
#cut -c 39-73 donnees.txt >> cutmatieres.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment