Date: Mon, 22 Apr 1996 08:51:16 +0200 (IST) From: Eli Zaretskii To: TPJ Mc Guigan Cc: djgpp AT delorie DOT com Subject: Re: gcc messages > file In-Reply-To: <4lclse$d2c@yama.mcc.ac.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 21 Apr 1996, TPJ Mc Guigan wrote: > >> How can a pipe the gcc messages into a file? > >> gcc file.c > err.msg doesn't work. > >> > >use the redir command: > > > >redir -e err.msg gcc file.c > > > > Hmmm, what about redirecting stderr via "gcc file.c >& err.msg"? Don't know Would be mighty good, except that this doesn't work on MS-DOS (unless non-standard shells are used). Use `redir', like the previous message says.