Search Results

Search: Posts Made By: mcp
2,650
Posted By mcp
Hi, Instead of: cat $1 | while read...
Hi,

Instead of:

cat $1 | while read line; do
Try:

for line in `cat $1`
do
That way you don't have the "read inside a read loop issue" that alister pointed out. BTW well spotted alister...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy