Re: How to merge stdout and stderr
Florian Klien <[email protected]> Sun, 30 Sep 2007 11:27:29 +0200
| Newsgroups | gmane.linux.console |
|---|---|
| Message-ID | <[email protected]> |
On 30.09.2007, at 01:48, Jeffrey Holle wrote: > 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? depends on what you want to do. redirect sterr to stdin: try 2>&1 redirect stin to sterr: try 1>&2 hth florian -- Florian Klien student of Telematics "Facts are meaningless. You could use facts to prove anything that's even remotely true!", Homer Simpson - To unsubscribe from this list: send the line "unsubscribe linux-console" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html