Shware Systems <shwares...@aol.com> wrote:

> According to XCU 2.6.5, it's treated literally only when double quoted, e.g. 
> "$var", otherwise quote removal should still occur on the variable's contents 
> after any field splitting...

XCU 2.6.5 explains what happens after parameter expansion, the quoting happens 
as the last action during parameter expansion.

The text related to double quotes refers only to "spaces" inside the result.

If you like, check:

        $shell -c "var='a*\"?\"'; echo \$var"

alls shells agree here ;-)

Jörg

-- 
 EMail:jo...@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to