Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created April 8, 2014 06:04
Show Gist options
  • Save yuuichi-fujioka/10095917 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/10095917 to your computer and use it in GitHub Desktop.
while read line sample
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