about summary refs log tree commit diff
path: root/Doc/Zsh/expn.yo
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-12-07 21:49:07 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-12-07 21:49:07 +0000
commitf5b8efa7e0450450a91c8263733502f9de6729b4 (patch)
tree29b5f892a5d76ab66179b0502a25b9f95840093c /Doc/Zsh/expn.yo
parent9fb30cf572f7c5ff26e883396a5020da89d9541a (diff)
downloadzsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.gz
zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.xz
zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.zip
37344: restore old printable quoting, add ${(q+)...}.
The \C- form is only used inside quotedzputs().

${(q+)...} outputs a quotedzputs() representation.
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r--Doc/Zsh/expn.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 564c70dd1..c6e7b6f16 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1067,6 +1067,11 @@ If a tt(q-) is given (only a single tt(q) may appear), a minimal
 form of single quoting is used that only quotes the string if needed to
 protect special characters.  Typically this form gives the most readable
 output.
+
+If a tt(q+) is given, an extended form of minmal quoting is used that
+causes unprintable characters to be rendered using tt($')var(...)tt(').
+This quoting is similar to that used by the output of values by the
+tt(typeset) family of commands.
 )
 item(tt(Q))(
 Remove one level of quotes from the resulting words.