Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.2.20030108130300.0279e770@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Wed, 08 Jan 2003 13:08:50 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: Bash backquote bug? In-Reply-To: <8B8C8B6AEC2C6B4DA7862541B84050875EFC4B@MPSMSG04.us.schp.co m> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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/