* How to merge stdout and stderr
@ 2007-09-29 23:48 Jeffrey Holle
2007-09-30 9:27 ` Florian Klien
0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Holle @ 2007-09-29 23:48 UTC (permalink / raw)
To: linux-console
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to merge stdout and stderr
2007-09-29 23:48 How to merge stdout and stderr Jeffrey Holle
@ 2007-09-30 9:27 ` Florian Klien
0 siblings, 0 replies; 2+ messages in thread
From: Florian Klien @ 2007-09-30 9:27 UTC (permalink / raw)
To: jeffreyholle, linux-console
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-30 9:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-29 23:48 How to merge stdout and stderr Jeffrey Holle
2007-09-30 9:27 ` Florian Klien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).