Mail Archives: djgpp-workers/2000/10/23/21:48:17
At 05:49 PM 10/23/00 -0400, Mark E. wrote:
>Hi folks,
>I updated the bash binary to include a corrected manifest. I
haven't >received a bug report in quite a while, so I just might make
things >official soon.
I may have one for you, unfortunately. I don't have a pure-bash test
case yet, but in the latest bleadperl version of perl there is an error
that only seems to occur under DJGPP when perl opens a piped command as
a file. The code basically tries to do the following:
open a piped command as a file: "echo #foo|"
read one line from the piped file handle
print the results of the read
close the file handle
Well, under DJGPP "echo #foo|" produces a blank line from the first
read, rather than just "#foo". When I patched the test to use the
modified command "echo \\#foo|", then the first read got "#foo" as a
result.
Unfortunately, my patch breaks VMS perl, where they have even more
special cases and exceptions than DJGPP does. I'm having to re-work my
patch to make the "\\#foo" version for DJGPP only, in case it breaks
other platforms (it does *not* break on linux).
Is there anything you are aware of that would make "echo #foo|" produce
an empty line for the first read of the pipe? BTW, "echo \#foo|" also
produces an empty first line, if that helps pin anything down.
I will DL your latest beta and re-test bleadperl, just in case it's
something that already got fixed.
Thanks again for all your work on bash. It's been a pleasure to use.
Peter
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley AT banet DOT net)
- Raw text -