diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2007-08-23 22:04:25 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-08-23 22:04:25 +0000 |
| commit | db3ba137b34582a2810b0fb01b6ba451acbc1c9b (patch) | |
| tree | 6d2f321cc78d9794a139221463bee6d3f89bde9e /Test | |
| parent | unposted: calendar_show: error in subscripts (diff) | |
| download | zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.tar zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.tar.gz zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.tar.bz2 zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.tar.lz zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.tar.xz zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.tar.zst zsh-db3ba137b34582a2810b0fb01b6ba451acbc1c9b.zip | |
23795: improve ${(Q)...} with $'..'
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/D04parameter.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 7f229e9a6..1910e60be 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -320,6 +320,11 @@ 0:${(Q)...} >and now even the pubs are shut. + foo="X$'\x41'$'\x42'Y" + print -r ${(Q)foo} +0:${(Q)...} with handling of $'...' +>XABY + psvar=(dog) setopt promptsubst foo='It shouldn'\''t $(happen) to a %1v.' |
