Here is quick and easy way to read from a file in bash and perform and operation on each line in the file:
echo __filename__ | while read line; do echo $line; done #this can be substituted by any operation that you want to do on each line in the file; done
./M
Friday, April 25, 2008
Subscribe to:
Posts (Atom)