How to merge stdout and stderr# Unix - 噫吁兮,危乎高哉
m*e
1 楼
I want to pipe all the output (to stdout and stderr) from a program
to another program (such as cat). How to do this?
"p1 2>&1 | p2" doesn't work
to another program (such as cat). How to do this?
"p1 2>&1 | p2" doesn't work