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

RSS Icon Subscribe to comments

You need to login to post a comment.