Message-Id: <3.0.5.32.20000420140020.008e35c0@pop.mail.yahoo.com> X-Sender: flygduglig AT pop DOT mail DOT yahoo DOT com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Thu, 20 Apr 2000 14:00:20 +0200 To: djgpp AT delorie DOT com From: Erik Sandberg Subject: argc (?) bug Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com I'm using win98's DOS shell and grep 2.4, and if I do e.g. grep \". *.ini |more in the c:\windows directory (or a search in a different file set, if there just are some matches), I get strange output: C:\WINDOWS>grep \". *.ini |more netdet.ini:HKLM,System\CurrentControlSet\Services\VxD\NWLINK,cachesize,,"16" netdet.ini:HKLM,System\CurrentControlSet\Services\VxD\NWLINK\Ndi\params\cach esiz e,"",,"16" netdet.ini:%26%\protocol.ini,NWLINK$,,"cachesize=16" win.ini:rhide.exe="D:\DJGPP\BIN\rhide.exe" grep: |more: No such file or directory (ENOENT) grep: EMP=C:\TEMP: No such file or directory (ENOENT) In a more complex situation, there were trash characters instead of "EMP=C:\TEMP". It looks like a bug in DOS (the same thing occur to BCC's grep), somehow DOS seems to report the wrong argc/argv if there's a \" in the parameter list. In any case it would be cool if DJGPP could add a workaround for it. Erik