Re: [dev] Re: Maintaining sbase

From: Fernando C.V. <ferkiwi_AT_gmail.com>
Date: Sat, 29 Jun 2013 03:51:21 +0200

>> 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)
>

That's a bashism, not POSIX. Not much better than using pee

--
Fernando Carmona Varo
Received on Sat Jun 29 2013 - 03:51:21 CEST

This archive was generated by hypermail 2.3.0 : Sat Jun 29 2013 - 04:00:11 CEST