Separate Piping of dmd stdout and stderr through ddemangle

simendsjo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 22 02:40:50 PDT 2014


On 05/22/2014 11:29 AM, "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.

2>&1 means "redirect file handle 2 to the same as file handle 1".
So it will redirect stderr to stdout. I'm not exactly sure what you want
to do though, so this might not be the answer you are looking for.


More information about the Digitalmars-d-learn mailing list