STDOUT

Alan Cohen alan-QVObF66B6qeOg/Yh5kgvkFaTQe2KTcn/ at public.gmane.org
Sun May 16 05:17:39 UTC 2004


I have a perl program that gets its input from another program's STDOUT.

This program process STDIN and then decides what it should write to
STDOUT. In many cases, it will decide to write precisely what it
received on STDIN. It will only know for sure after it's finished
reading STDIN.

Currently, I'm storing everything from STDIN to an intermediate file,
making my decision and then writing either a hard-coded message or the
intermediate file to STDOUT.

Is there a way that doesn't require the intermediate file?

-- 
Sincerely,
Alan Cohen alan-bdq14YP6qtTV+N59fa8YiVaTQe2KTcn/@public.gmane.org voice: 416-783-9826
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20040516/604f0d1a/attachment.sig>


More information about the Legacy mailing list