www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/12/19:31:48

To: djgpp AT delorie DOT com
Subject: Re: Off behaviour with 'cat -b'
Message-ID: <19970112.160206.4975.1.chambersb@juno.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970112152549 DOT 7675T-100000 AT is>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Sun, 12 Jan 1997 19:02:35 EST

On Sun, 12 Jan 1997 15:28:37 +0200 (IST) Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> writes:
>
>On Fri, 10 Jan 1997, Benjamin D Chambers wrote:
>
>> I don't know specifically about cat, but I believe if it was 
>compiled
>> with djgpp you cannot use the standard DOS redirection/piping.
>
>Why would you think a thing like that?  DJGPP does nothing at all to 
>change the standard DOS redirection/pipes mechanism.  Pipes and 
>redirection are a feature of the shell (COMMAND.COM or any other shell 
>
>that you might use), and DJGPP has nothing to do with it.  DJGPP 
>programs 
>certainly *can* use these features, exactly as any other DOS program 
>does.  `redir' is only required to redirect stderr (because 
>COMMAND.COM 
>cannot do that).
>
I see now!  When I found that > didn't work catching errors from
programs, I assumed that was how all output from djgpp programs acted. 
Thanx for the clarification :)

...Chambers

- Raw text -


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