You're viewing a comment by raphael and its responses.

raphael Permalink
September 11, 2012, 17:52

$ ls one.txt two.txt > >(sed "s/^/O /") 2> >(sed "s/^/E /" 1>&2)
O one.txt
E /bin/ls: cannot access two.txt: No such file or directory

This does the trick. But don't ask me why, it was just a guess.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "network": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.