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 12:53:25 +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

Le 18/08/2010 12:14, Andreas Schwab a écrit :
> Marc Herbert <address@hidden> writes:
>> In any case it should not perform any *implicit* (and
>> thus confusing) quoting.
> 
> There is no quoting, the shell just doesn't split into words,

I know but it looks like quoting, because quoting is how you prevent
word splitting.

Sorry but I am not interested at all in how the current implementation
works. I am only wondering why it was *designed* like this.

Try to remove your expert hat for one second and take the stance of
some developer new to the shell, trying to make sense of quoting, word
splitting and the rest.


> which doesn't make any sense in an assignment.

"Everything makes sense" is a nice feature in programming language
design but extremely low-priority compared to consistency.






reply via email to

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