Return to Snippet

Revision: 10373
at December 23, 2008 00:04 by sanjivarunsahayamhotmailcom


Initial Code
#!/bin/sh
while read LINE
do
echo "processing $LINE"
done < your_input_file

An example of your_input_file would be:

one
two
three

Each line in your_input_file will be read into LINE.

Initial URL

                                

Initial Description
Reads a linux file, line by line

Initial Title
Read a file line by line

Initial Tags
file, Bash

Initial Language
Bash