Quote:
|
Originally Posted by lok
Thanks vino.
One more question need ur help.
I write two while loop.
Can i know how to exit the second loop and go back to first loop. What is the exit status code??
i've tried 0 1 2 3 4, but it can't works.
|
Are you talking about nested while loops ?
Code:
while read file1line
do
while read file2line
do
echo "$file1line $file2line"
break 1
done < file2
done < file1