Re: How to merge stdout and stderr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Fedora Users]

  Powered by Linux