bash one-liners with multiple pipes

Henry Spencer henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org
Tue May 11 15:04:06 UTC 2004


On Tue, 11 May 2004, daniel wrote:
> ...unfortuneately though, while this works...
> this doesn't:

What does the latter do, or not do?  "doesn't" is not very specific. :-)

One problem with any attempt to run real-time output through pipes is that
many programs buffer output that's going to a pipe, waiting until they
have a full buffer before they actually write it out.  You will still get
the same output... eventually... but whether you get it *promptly* depends
on little details, and is effectively unpredictable.

                                                          Henry Spencer
                                                       henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list