Exercice 1: 1-cat notes.txt head -n 3 tail -n 1 2-cat notes.txt cut -f5 -d" , " 3-cat…
- User
Exercice 1: 1-cat notes.txt | head -n 3 | tail -n 1 2-cat notes.txt | cut -f5 -d" , " 3-cat notes.txt | cut -f 3 egrep"D[a-zA-Z]" cut -f3 -d";" 4-cat notes.txt | cut -f 2 egrep".[eE][a-zA-Z]" cut -f2 -d ";" 5-cat notes.txt | cut -f 2 -d egrep"[D-Ld-l][a-zA-Z]*" cut -f2 -d ";" 6-cat notes.txt | cut -f 4 -d egrep"Francais" cut -f 4 -d";" 7-cat notes.txt | wc -l
Exercice 2:
- for ligne n in $(cat notes.txt) do
if [[ $ligne =="Francais" ]]
then
if[ligne ) -gt 13 ]
then
echo ligne)
- Assistant
done