/ Published in: Bash

bash, read, line
1. $ cat myFile | readByLine
2. $ readByLine
1. $ cat myFile | readByLine
2. $ readByLine
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
while read line; do echo $line done # or while read line; do echo $line done < myFile
Comments
