On 27 June 2013 02:43, Chris Down <ch...@regentmarkets.com> wrote: > On 27 June 2013 14:33, Martti Kühne <mysat...@gmail.com> wrote: >> Still. What's pee good for? A quick google disappointed my >> expectations in that matter. > > It's for people that don't know how to use FIFOs/process substitution > properly ;-) >
should suffice: cat file | tee >(sort -u > sorted) >(sort -R > unsorted)