How to merge stdout and stderr
I'm using bash on Ubuntu Linux.
I've forgotten the syntax on how to do this:
rcsdiff somefile 1&2> result
Can somebody tell me how to do this?
Quoted 6 lines · Jeffrey Holle
I'm using bash on Ubuntu Linux.
I've forgotten the syntax on how to do this:
rcsdiff somefile 1&2> resultCan somebody tell me how to do this?
depends on what you want to do.
redirect sterr to stdin:
try 2>&1
redirect stin to sterr:
try 1>&2
hth
florian
Signature · 4 lines
Florian Klien student of Telematics "Facts are meaningless. You could use facts to prove anything that's even remotely true!", Homer Simpson