www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/22/01:56:28

Date: Mon, 22 Apr 1996 08:51:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: TPJ Mc Guigan <tpj AT sn2 DOT ee DOT umist DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: gcc messages > file
In-Reply-To: <4lclse$d2c@yama.mcc.ac.uk>
Message-Id: <Pine.SUN.3.91.960422084925.16254I-100000@is>
Mime-Version: 1.0

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. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019