diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-12-07 21:49:07 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-12-07 21:49:07 +0000 |
commit | f5b8efa7e0450450a91c8263733502f9de6729b4 (patch) | |
tree | 29b5f892a5d76ab66179b0502a25b9f95840093c /Test | |
parent | 9fb30cf572f7c5ff26e883396a5020da89d9541a (diff) | |
download | zsh-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 'Test')
-rw-r--r-- | Test/D04parameter.ztst | 2 | ||||
-rw-r--r-- | Test/V09datetime.ztst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 2b46e069d..1460ff6b6 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -398,7 +398,7 @@ foo=$'\x7f\x00' print -r -- ${(V)foo} 0:${(V)...} ->\C-?\C-@ +>^?^@ foo='playing '\''stupid'\'' "games" \w\i\t\h $quoting.' print -r ${(q)foo} diff --git a/Test/V09datetime.ztst b/Test/V09datetime.ztst index 831421dc3..7905155d8 100644 --- a/Test/V09datetime.ztst +++ b/Test/V09datetime.ztst @@ -71,4 +71,4 @@ print -r -- ${(V)"$(strftime $'%Y\0%m\0%d' 100000000)"} 0:Embedded nulls ->1973\C-@03\C-@03 +>1973^@03^@03 |