/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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