[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Read/Write files from a script



On Wed, Jul 19, 2006 at 05:13:26PM +0530, Anil Gupte/k.e.e.n., inc.
wrote:
> BlankIs there a shell command to read files?  I want to open a text
> file, loop through each line and parse the line of text.

while read line
do
echo "processing line: $line"
done < input_text_file

-- 
"Artificial intelligence makes mistakes too, only faster."
		-- Larry Wall
    Rick Pasotto    rick@niof.net    http://www.niof.net



Reply to: