bug-bash
[Top][All Lists]
Advanced

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

Re: quotes invade positional parameters


From: Jan Schampera
Subject: Re: quotes invade positional parameters
Date: Sun, 19 Dec 2010 13:47:13 +0100
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

address@hidden wrote:

Well anyway, it would be 'no skin off of bash's back' if it just
reported what it was given.

If it was given
'  'a b c
it should report
'  'a b c

and not just 'assume' we prefer
'  a' b c
or
'  a' 'b' 'c'
etc.

Just as legitimate and doesn't cause calls in the middle of the night
from the old folks home.

Wait, that stage of the program doesn't know it was given that, and to
make it know would just increase complexity. As would reporting
\ \ a b c
or would it... OK, never mind.


Yea, that's it. It doesn't report what's given, it reports the result of the processing. This is hopefully similar, but definitely not the same.

--
Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793




reply via email to

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