Bash backquote bug?

Randall R Schulz rrschulz@cris.com
Mon Jan 13 03:23:00 GMT 2003


Michael,

I cannot reproduce this. When I recreate your experiment, I get the results 
I'd expect.

Are you sure your script is using BASH? You should know that /bin/sh is 
ash, not BASH. Nonetheless, I cannot reproduce the problem with ash, either.

Out of curiosity, why are you using the "-L" option to "ls?" Are symbolic 
links involved here?

Please send "cygcheck -s -v" output as a non-inline, non-compressed text 
attachment.

Randall Schulz


At 12:44 2003-01-08, Barillier, Michael wrote:
>While running a configure script under bash-2.05b, I observed a bug (?)
>similar to the following:
>
>   $ ls configure*
>   configure  configure.in
>   $ echo timestamp >conftest.file
>   $ ls -Lt ./configure conftest.file
>   conftest.file  ./configure
>   $ set X `ls -Lt ./configure conftest.file`
>   $ echo $*
>   X conftest.file ./configure ./configure.in
>
>So, it appears that `ls' produces different output when evaluated at the
>command prompt and when run under backquote.  Any ideas?
>
>-- mjb


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list