in reply to Re: writing to stdin
in thread writing to stdin

If you used to program with lex or flex you would notice that the question is not so weird. In fact, it is common to use 'unput' to put characters back in the input buffer (which in fact can be from stdin).

Ok, I know flex does not push it into stdin, but it gives you that idea.

Cheers

Alberto Simões

Replies are listed 'Best First'.
Re^3: writing to stdin
by samizdat (Vicar) on Mar 28, 2005 at 14:53 UTC
    Aye, but we be dealin' wit a newbie here, to be sure. You be absolutely correct in ta wunderful complexity of te entire UN!X worlt, but let's not be confusin te poor bairn right from t'start. :D