Date: 06 Apr 2005 08:48:23 +0100 From: Richard Caley <rjc@caley.org.uk> To: mrspock@esfm.ipn.mx Cc: freebsd-questions@freebsd.org Subject: Re: shell question Message-ID: <87ekdo2vnc.fsf@pele.r.caley.org.uk> In-Reply-To: <63501.201.135.130.41.1112718721.squirrel@201.135.130.41> References: <63501.201.135.130.41.1112718721.squirrel@201.135.130.41>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <63501.201.135.130.41.1112718721.squirrel@201.135.130.41>, mrspock (m) writes: m> The problem is that I don't want to use the temporary m> file that I used above (stdout, stderr, out), I just m> want a "filter" If you want to rearange the output so that all the errors are after all the non errors, then you are going to need storage of some sort. I think that is logically unavoidable. There may be some kind of shuffle you can do with named pipes or something, but those kind of things have limited storage. Any time your command produces more error output than that space can hold, it will be stopped. Since you are not reading that stream until the main output is finished you'd then have a deadlock. -- Mail me as MYFIRSTNAME@MYLASTNAME.org.uk _O_ |<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ekdo2vnc.fsf>