Thursday, April 7, 2011

concatenate output of two commands

Quick followup to my previous post, on a *nix command prompt, if you want to concatenate the output of two commands, here is one way:


$ cat <(command1 arg1 arg2) <(command2 arg)

No comments:

Post a Comment