diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-08-22 10:46:40 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-08-22 10:46:40 +0000 |
commit | 749951e03d1d6036f97a45b65c0a7a85c2eecabd (patch) | |
tree | 3be46925c4bc5061dab7285e2b4e930b2b7d0658 /Test | |
parent | 55b7a07a7ec62cd2456b651cabf819e4384f73b0 (diff) | |
download | zsh-749951e03d1d6036f97a45b65c0a7a85c2eecabd.tar.gz zsh-749951e03d1d6036f97a45b65c0a7a85c2eecabd.tar.xz zsh-749951e03d1d6036f97a45b65c0a7a85c2eecabd.zip |
23792: test and documentation for improved backslash quoting
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D07multibyte.ztst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index 35e2bd50f..7348bbc2e 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -378,3 +378,9 @@ >ngs200.txt >ngs20.txt >ngs2.txt + +# Not strictly multibyte, but gives us a well-defined locale for testing. + foo=$'X\xc0Y\x07Z\x7fT' + print -r ${(q)foo} +0:Backslash-quoting of unprintable/invalid characters uses $'...' +>X$'\300'Y$'\a'Z$'\177'T |