<html>
<font size=3>Fred,<br>
You could try something like this:<br>
<br>
#!/bin/sh <br>
while read animal color<br>
do<br>
read name
</dev/tty<br>
echo $name $animal $color >
outfile<br>
done <infile<br>
<br>
Regards,<br>
krf<br>
<br>
At 10:30 AM 2/27/2002 -0600, you wrote:<br>
<blockquote type=cite cite>Actually, this is an extension of my first
question, but maybe it is better expressed.<br>
<br>
I need to read from a text file, solicit user input for each item found
in that file, and then write it all out to a second text file. I
suppose I could just do it in C, but if possible I should like to do it
in bash.<br>
<br>
Any suggestions or guidance would be appreciated.<br>
<br>
-- <br>
...make every program a filter...<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.ntlug.org/mailman/listinfo/discuss" eudora="autourl">http://www.ntlug.org/mailman/listinfo/discuss</a></font></blockquote></html>