From Mexico.purplecow.org
(Difference between revisions)
Revision as of 15:53, 10 May 2009
A recurring question that pops up - how to process text files line-by-line in shell.
#!/bin/bash while read moo do echo $moo done <content.txt