www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/06/10:32:22

From: Dave Pearson <davep AT hagbard DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Unfortunate output unit in "ls.exe"
Date: Fri, 6 Feb 1998 14:35:29 GMT
Organization: Hagbard's World (A Private Internet Host)
Sender: usenet AT hagbard DOT demon DOT co DOT uk
Message-ID: <slrn6dm7tf.b5f.davep@hagbard.demon.co.uk>
References: <34DAE3EA DOT F72B20E5 AT lps DOT u-psud DOT fr>
Reply-To: davep AT hagbard DOT demon DOT co DOT uk
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 06 Feb 1998 12:20:26 +0200, Daniel Taupin <taupin AT lps DOT u-psud DOT fr> wrote:

> ls.exe outputs NOT into stdout, but in stderr!  Thus one cannot pipe its
> output to a file.
> 
> Any comments?

I'd check that you are really using the DJGPP ported GNU ls. It outputs to
stdout just fine:

C:\x>touch one
C:\x>touch two
C:\x>ls > three
C:\x>cat three
one
three
two
C:\x>_

-- 
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.

- Raw text -


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