From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4AC4768F.7000300@maht0x0r.net> References: <138575260910010126p6c629a88qc8ec1be7ce3ff2a2@mail.gmail.com> <138575260910010209n6f02c9aaqae533c2fb5402746@mail.gmail.com> <4AC4768F.7000300@maht0x0r.net> Date: Thu, 1 Oct 2009 11:52:40 +0200 Message-ID: <138575260910010252o68837176g6842d13fbf08e98@mail.gmail.com> From: hugo rivera To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] handling output Topicbox-Message-UUID: 7aff1d76-ead5-11e9-9d60-3106f5b1d025 shame on me, I didn't know about it. 2009/10/1, matt : > Tee part of the POSIX standard > > http://www.opengroup.org/onlinepubs/9699919799/utilities/tee.html > > > > hugo rivera wrote: > > > > Great, thanks. > > Looks like plan 9 guys have thought about everything useful =E2=98=BA (= and > > that I didn't do my homework). > > > > 2009/10/1, roger peppe : > > > > > > > 2009/10/1 hugo rivera : > > > > > > > > > > > > > I've been wondering for a while if there's some way to multiplex (i= f > > > > > > > > > > > > this is the correct term) stdout for a given program: > > > > > > > > > that's what tee does. > > > > > > e.g. > > > ls | tee >{grep regexp1 > file1} >{grep regexp2 > file2} > > > > > > > > > > > > > > > > > > > > > > > --=20 Hugo