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

Reply via email to