On 28 June 2013 21:51, Fernando C.V. <ferk...@gmail.com> wrote: >>> 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 >
and who said that POSIX is the only way? frankly I find a shell that supports decent pipe managment to be a suckless thing, but something that sucks. It turks into suck when you need a utility to do what your shell should be doing.