Re: Redirecting STDIN

2010-08-28 Thread John Clizbe
James Board wrote: > I'm trying to encode a file in a shell script on a linux machine. The script is getting stuck on an interactive question for which the answer is always 'y' (yes). I tried redirecting stdin from a file, and with 'echo "y" | ", but that doesn't work for some reason (it works

Re: Redirecting STDIN

2010-08-28 Thread Doug Barton
On 8/28/2010 5:34 PM, James Board wrote: I'm trying to encode a file in a shell script on a linux machine. The script is getting stuck on an interactive question for which the answer is always 'y' (yes). I tried redirecting stdin from a file, and with 'echo "y" | ", but that doesn't work for

Redirecting STDIN

2010-08-28 Thread James Board
I'm trying to encode a file in a shell script on a linux machine. The script is getting stuck on an interactive question for which the answer is always 'y' (yes). I tried redirecting stdin from a file, and with 'echo "y" | ", but that doesn't work for some reason (it works with other progr