Re: Inconsistent quote and escape handling in substitution part of param
From:
Chet Ramey
Subject:
Re: Inconsistent quote and escape handling in substitution part of parameter expansions.
Date:
Wed, 29 Feb 2012 17:58:17 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0
On 2/28/12 5:34 PM, John Kearney wrote:
> the outermost quotes only effect how the final value is handled.
> same as §()
${} doesn't work like $(), and it never has. That's one consequence
of backwards compatibility -- the Bourne shell didn't have $().
> having special behaviour model for that string makes it imposible to
> work with really.
>
> this should actually make it easier for the parser.
It doesn't actually change anything for the parser.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/