Hi all,

Say I have command 'foo' that takes a file 'bar' as input and does
something useful with it and is run like this:

$ foo < bar

Now foo expects EOF to stop accepting input and to exit and when
filtering in files as in the example above everything is perfect but foo
can also be run stand alone:

$ foo
_

and there doesn't seem to be anyway to send foo EOF with the keyboard to
cause it to exit so it runs forever until it's process is killed.

So can I send the EOF character with the keyboard?

Thanks,
Chris


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to