delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/19/18:46:54

Newsgroups: comp.os.msdos.djgpp
From: rd5718 AT irix DOT bris DOT ac DOT uk (Rich Dawe)
Subject: Re: Redirecting GCC errors in a txt file...
X-Nntp-Posting-Host: irix.bris.ac.uk
Message-ID: <F8uM8D.uB@fsa.bris.ac.uk>
Lines: 14
Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet)
Organization: University of Bristol, England
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
References: <7ctipg$6qs$1 AT news3 DOT isdnet DOT net>
Date: Fri, 19 Mar 1999 15:41:01 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

JCx (jicehix AT worldnet DOT fr) wrote:
: can't read them all, because of the scrolling of the text. I'd like to know
: if there's a way to redirect the GCC output in a text file (the
: >filename.txt command line doesn't work).

	redir -eo myprog > errors.txt

should do the trick.

-- 
==============================================================================
         Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
           richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================

- Raw text -


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