Posted By

mahome on 07/31/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

endorfin


Read file line by line


 / Published in: Bash
 

bash, read, line

  1. $ cat myFile | readByLine
  2. $ readByLine
  1. while read line; do
  2. echo $line
  3. done
  4.  
  5. # or
  6.  
  7. while read line; do
  8. echo $line
  9. done < myFile

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Jacky888 on October 12, 2018

review tv antenna sobetter hdtv outdoor 150 mile long reviewtvantennas

You need to login to post a comment.