delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/05/04:42:49

Sender: Mridul DOT Muralidharan AT Sun DOT COM
Message-ID: <3B95E54F.2B5E5452@india.sun.com>
Date: Wed, 05 Sep 2001 08:41:51 +0000
From: Mridul Muralidharan <mridul DOT muralidharan AT india DOT sun DOT com>
Organization: Sun Microsystems
X-Mailer: Mozilla 4.76C-CCK-MCD Netscape [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Redirecting output
References: <3B95D104 DOT E6FAB34B AT bigfoot DOT com>
Reply-To: djgpp AT delorie DOT com

Alex Vinokur wrote:
> 
> ===========================================
> Windows98
> ===========================================
> 
> I would like to redirect output of command line to file :
> 
> gcc -v *.c > log1.txt
>  or
> gcc -v *.c >& log2.txt
> 
> It doesn't work on Windows98.
> Is there any possibility to do it ?

use redir to redirect output .
actually you can redirect stdout in win98 but not stderr
for that either go for redir or use bash ( unix style redirection
possible )- must be mentioned  somewhere in the faq

> 
> P.S. I realize that that question is not DJGPP-related one.

right about this .

regards
mridul


Mridul Muralidharan,
Member of Technical Staff,
Portal Server,
iPlanet India
email Id	: mridul DOT muralidharan AT india DOT sun DOT com
Ph		: 2298989 extn 87511
iPlanet Website	: www.iplanet.com

- Raw text -


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