Subject: Re: redirecting error messages
To: NetBSD (port-68kMac) Mailing list <port-mac68k@netbsd.org>
From: Steve Revilak <revilak@umbsky.cc.umb.edu>
List: port-mac68k
Date: 05/28/1999 10:17:00
If you're using a C-shell variant, then
command >& filename.txt (overwrites filename.txt)
or
command >>& filename.txt (appends to filename.txt)
The ampersand causes the redirection of stderr and stdout to the same
file -- unlike sh, it can't send them to two different places.
Steve Revilak
revilak@umbsky.cc.umb.edu
======================================================================