Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Quoted parameter parsing glitch
- X-seq: zsh-workers 15710
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Quoted parameter parsing glitch
- Date: Mon, 27 Aug 2001 07:22:01 +0000
- In-reply-to: <3B893907.7000008@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.SV4.4.33.0108222223100.5012-100000@xxxxxxxxxxxxxxxxxxxxx> <1010826172637.ZM31172@xxxxxxxxxxxxxxxxxxxxxxx> <3B893907.7000008@xxxxxxxxxxxxxx>
On Aug 26, 9:59pm, Borsenkow Andrej wrote:
}
} Bart Schaefer wrote:
} >
} > The question is whether "${foo:-"}"}" is valid.
}
} No. Pairs of quotes and braces must match.
And is there no way to quote a brace within braces?
In any case, zsh accepts the above, nested like so:
" "
${ }
foo:-" "
}
I don't see any reason to change that in zsh, even if it's not accepted
under the POSIX rules, unless it conflicts with whatever means POSIX
provides for quoting the inner right brace.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author