Walt Mankowski on 1 Nov 2006 14:37:22 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Basic unix pipe question


On Tue, Oct 31, 2006 at 03:28:44PM -0500, George Gallen wrote:
> you could also use tee
> 
> # program1 | tee program2

You could try that, but you'll find you'll still have the same
buffering problem.  I should know, I made exactly the same mistake a
few days ago, and adding fflush(stdout) after each printf fixed it. :)

Walt

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug