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

Re: [leafnode-list] leafnode-1.9.5b4



On Wed, Dec 01, 1999 at 10:09:22AM -0600, Timothy A. McDaniel wrote:
> Bruno Rohee <br@xxxxxxxxxx> wrote:
> > Attached is the output of 
> > % (./configure ; make ) 2>1 >/tmp/log
> ..
> > Strangely the warning were lost...
> 
> Possibility 1: you indeed typed "2>1".  That redirects standard error
> (file descriptor 2) into a file named "1" (that's a legal UNIX file
> name, after all) in the current directory.  To dup a file descriptor
> into another one for output purposes, the Bourne shell syntax is ">&".
> Here, that would be "2>&1".

yeah, I recently switched from tcsh to zsh and didn't read the doc, the good
command was

% (./configure ; make ) >/tmp/log 2>&1

-- 
The Pig, if I am not mistaken,
Gives us ham and pork and Bacon.
Let others think his heart is big,
I think it stupid of the Pig.
		-- Ogden Nash

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list