Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Quoted parameter parsing glitch



Bart Schaefer wrote:
On Aug 22, 10:25pm, Borsenkow Andrej wrote:
}
} As I said - they must match. "${foo:-""}" is valid but "${foo:-"}" - not.

The question is whether "${foo:-"}"}" is valid.


No. Pairs of quotes and braces must match.

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author