bug-bash
[Top][All Lists]
Advanced

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

Re: inconsistent field splitting


From: Marc Herbert
Subject: Re: inconsistent field splitting
Date: Wed, 18 Aug 2010 11:26:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1

> What should a=* or a=$(echo 1 2) do?
> Assign only the first file or just 1 to a? or result in an error?

Probably result in some error; I do not really care in this initial
stage. In any case it should not perform any *implicit* (and
thus confusing) quoting.


> This hardly seem more consistent  or less surprising to me.

Quoting makes a difference in some places but no difference in other
places (because of some kind of "implicit quoting"). This is not
consistent from a syntax perspective.




reply via email to

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