Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 1995 13:39:50 -0700
From:      kelly@fsl.noaa.gov (Sean Kelly)
To:        wmbfmk@urc.tue.nl
Cc:        hackers@FreeBSD.org
Subject:   Re: Strange behaviour of sh
Message-ID:  <9503222039.AA17027@junco.fsl.noaa.gov>
In-Reply-To: <199503221753.SAA05048@nietzsche> (wmbfmk@urc.tue.nl)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Marc" == wmbfmk@urc tue nl <wmbfmk@urc.tue.nl> writes:


    Marc> The above line is the correct syntax to redirect stdout and
    Marc> stderr to a file or isn't it?

No, it's the correct syntax for csh.  For sh, do

	cat foo0 > foo1 2>&1

--k



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503222039.AA17027>