From owner-freebsd-questions Wed Sep 10 06:13:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA00292 for questions-outgoing; Wed, 10 Sep 1997 06:13:52 -0700 (PDT) Received: from rfd1.oit.umass.edu (mailhub.oit.umass.edu [128.119.175.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA00274 for ; Wed, 10 Sep 1997 06:13:45 -0700 (PDT) Received: from wilde.oit.umass.edu by rfd1.oit.umass.edu (PMDF V5.1-8 #20973) with ESMTP id <0EGANEVE100H1H@rfd1.oit.umass.edu> for questions@FreeBSD.ORG; Wed, 10 Sep 1997 09:13:43 -0400 (EDT) Received: from localhost (gp@localhost) by wilde.oit.umass.edu (8.8.3/8.8.6) with SMTP id JAA00192; Wed, 10 Sep 1997 09:13:42 -0400 (EDT) Date: Wed, 10 Sep 1997 09:13:42 -0400 (EDT) From: Greg Pavelcak Subject: Re: Redirecting "make world" Output In-reply-to: <19970910125826.58030@webcrawler.com> To: Martijn Koster Cc: questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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