Return to Snippet

Revision: 1038
at September 2, 2006 05:41 by miklophone


Initial Code
for i in $(cat example.txt); do echo $i; done

for i (`cat example.txt`) echo $i
# (Zsh only)

Initial URL

                                

Initial Description

                                

Initial Title
Loop through lines of a text file

Initial Tags

                                

Initial Language
Bash