autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bourne sh redirection, a loop variable, and ':'


From: Ralf Wildenhues
Subject: Re: Bourne sh redirection, a loop variable, and ':'
Date: Sat, 13 Sep 2008 15:20:10 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Eric,

* Eric Blake wrote on Sat, Sep 13, 2008 at 02:21:54PM CEST:
> According to Ralf Wildenhues on 9/13/2008 1:27 AM:
> >>
> >> #  for i in 1 2 3 ; do : >x$i ; sleep 60 ; done ; date ; ls -l x*
> >> Wednesday, September  3, 2008  1:25:25 PM PDT
> >> -rw-r--r--   1 root     root           0 Sep  3 13:22 x1
> >>
> >> it seems that the no-op is removed from the loop after the first iteration.
> >> I guessed as much, but this makes it clearer.  Pretty weird. - Bruce
> > 
> > Indeed.  OK to install this patch to describe the issue?
> 
> Yes, please apply.

Thanks.  I added "after the first iteration", to make it a bit clearer
even.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]