Created
April 8, 2014 06:04
-
-
Save yuuichi-fujioka/10095917 to your computer and use it in GitHub Desktop.
while read line sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat hoge.txt | while read line | |
do | |
echo $line | |
done | |
whle read line | |
do | |
echo $line | |
done < hoge.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment