2009/10/1 hugo rivera <[email protected]>:
> 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}

Reply via email to