Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 09:13:42 -0400 (EDT)
From:      Greg Pavelcak <gpavelcak@philos.umass.edu>
To:        Martijn Koster <mak@webcrawler.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Redirecting "make world" Output
Message-ID:  <Pine.OSF.3.96.970910091018.32439B-100000@wilde.oit.umass.edu>
In-Reply-To: <19970910125826.58030@webcrawler.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Sep 1997, Martijn Koster wrote:

> On Wed, Sep 10, 1997 at 07:37:46AM -0400, Greg Pavelcak wrote:
> > Hi,
> > 
> > I believe the upgrade tutorial says you can save the info output of
> > make world by redirecting like this (using sh as shell):
> > 
> > 	make world 2>&1 | tee /var/tmp/mw.out
> > 
> > I saw this 2>&1 construction in the sh man pages but I don't
> > understand it.
> 
> it just means fold stderr and stdout into a single stream.
> 
> > Anyway, the immediate problem is that I get an error
> > when I write this. I think it said "ambiguous redirection"
> > unfortunately I don't have it with me now.
> 
> Are you absolutely sure you where using sh? That sounds distinctly
> like a csh error.
> 
> -- Martijn Koster, m.koster@pobox.com
> 
You're probably right. My default shell is csh. When I do "shutdown
now" it says something like "enter shell or press return for sh" but
here I guess "sh" means whatever shell you happened to be in when you
did "shutdown now"? I'll have to try the csh construct for redirecting
and see what happens.

Thanks.

Greg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.96.970910091018.32439B-100000>