Some examples of iterating through files and looping through file content in Bash. For details, see the Bash man page ...
hacktux.com