On Thursday, 22 May 2014 at 09:29:49 UTC, Nordlöw wrote:
Is there a Bash way to pipe stdout and stderr *separately* through ddemangle?I'm aware of 2>&1 but this removes separation of stdout and stderr.
You can use process substitution [1]: dmd ... 2> >( ddemangle >&2 )(or leave out the >&2 if you want the output of ddemangle to stay on stdout)
[1] http://www.tldp.org/LDP/abs/html/process-sub.html