|
|
|
|
Bonjour,
awk '{ ligne=$0 } END { print ligne }' ton_fichier.txtPour chaque ligne, l'enregistrer dans la variable ligne, à la fin du traitement, l'afficher.
Sinon, d'autres méthodes (choissez la bonne): tail -1 ton_fichier.txt tac ton_fichier.txt |head -1 sed -n '$p' etc. Une belette, un lapin !? C'est pas normal! |
Répondre à jipicy
|