Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Array subscript documentation
- X-seq: zsh-workers 14067
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: Array subscript documentation
- Date: Sun, 22 Apr 2001 23:40:53 +0100
- In-reply-to: ""Bart Schaefer""'s message of "Sun, 22 Apr 2001 18:51:36 -0000." <1010422185136.ZM8093@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> +example(typeset -A aa
> +typeset "aa[one\"two\"three\"quotes]"=QQQ
> +print "$aa[one\"two\"three\"quotes]")
Unless there's something remaining uncommitted, the last line still doesn't
work. The assignment strips the backslashes, but the expansion doesn't.
I suppose that's because the Bnull's don't get stripped till after the end
of the parameter expansion. But I don't really understand.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author