From: Dave Pearson 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: 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 Precedence: bulk On Fri, 06 Feb 1998 12:20:26 +0200, Daniel Taupin 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.