From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4AC4768F.7000300@maht0x0r.net> Date: Thu, 1 Oct 2009 10:29:51 +0100 From: matt User-Agent: Mozilla Thunderbird 1.0.6 (X11/20060326) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <138575260910010126p6c629a88qc8ec1be7ce3ff2a2@mail.gmail.com> <138575260910010209n6f02c9aaqae533c2fb5402746@mail.gmail.com> In-Reply-To: <138575260910010209n6f02c9aaqae533c2fb5402746@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [9fans] handling output Topicbox-Message-UUID: 7af0f4da-ead5-11e9-9d60-3106f5b1d025 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 ☺ (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 (if >>> >>> >> > 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} >> >> >> >> > > > >