1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 04:50:27 +02:00

12719: quoting arrays in vared with real backslashes

This commit is contained in:
Peter Stephenson 2000-08-29 20:27:47 +00:00
parent f4f38507e5
commit 942009eb9f
4 changed files with 23 additions and 10 deletions

View file

@ -162,10 +162,11 @@ If the type of an existing parameter does not match the type to be
created, the parameter is unset and recreated.
If an array or array slice is being edited, separator characters as defined
in tt($IFS) will be shown quoted with a backslash. Conversely, when the
edited text is split into an array, a backslash quotes an immediately
following separator character; no other special handling of backslashes, or
any handling of quotes, is performed.
in tt($IFS) will be shown quoted with a backslash, as will backslashes
themselves. Conversely, when the edited text is split into an array, a
backslash quotes an immediately following separator character or backslash;
no other special handling of backslashes, or any handling of quotes, is
performed.
Individual elements of existing array or associative array parameters
may be edited by using subscript syntax on var(name). New elements are