Great, thanks. Looks like plan 9 guys have thought about everything useful ☺ (and that I didn't do my homework).
2009/10/1, roger peppe <rogpe...@gmail.com>: > 2009/10/1 hugo rivera <uai...@gmail.com>: > > > I've been wondering for a while if there's some way to multiplex (if > > this is the correct term) stdout for a given program: > > > that's what tee does. > > e.g. > ls | tee >{grep regexp1 > file1} >{grep regexp2 > file2} > > -- Hugo