Lire un fichier ligne par ligne


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. for line in $(cat file.txt); do echo "$line" ; done

URL: http://www.commentcamarche.net/faq/sujet-5027-comment-lire-un-fichier-ligne-par-ligne

Report this snippet


Comments


You need to login to view comments.