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