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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment