bug-bash
[Top][All Lists]
Advanced

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

Re: null word list in for loops in bash-2.05.8 not allowed


From: Carlos Puchol
Subject: Re: null word list in for loops in bash-2.05.8 not allowed
Date: Sun, 18 Nov 2001 15:37:45 -0800 (PST)

got it. will upgrade. thanks!

btw, the solution you propose:

--- Paul Jarc <address@hidden> wrote:
> Assuming SOMETHING doesn't contain single quotes:
> var='$(SOMETHING)'; for i in $var; do ...; done

does not work. the loop is issued once, with $i
having the empty string.
zero is a nice number, like any others, and should be respected :-)

-c

=====
C. Puchol <address@hidden>

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com



reply via email to

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