This isn't in Unix Power Tools so I figure it's worth sending out. To pipe stderr to one process, and stdout to another: ( foo | stdoutproc 2>/dev/null) 2>&1 | stderrproc -Mark