Signaling end of input with EOF by keyboard instead of file.

1998-07-19 Thread Christopher Barry
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

Re: Signaling end of input with EOF by keyboard instead of file.

1998-07-19 Thread Martin Bialasinski
CB == Christopher Barry [EMAIL PROTECTED] writes: CB So can I send the EOF character with the keyboard? CTRL d Ciao, Martin ^d :-) -- from a 1996 Microshit ad campaign: The less you know about computers the more you want Micro$oft! See! They do get some things right! --