From db3ba137b34582a2810b0fb01b6ba451acbc1c9b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 23 Aug 2007 22:04:25 +0000 Subject: 23795: improve ${(Q)...} with $'..' --- Test/D04parameter.ztst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Test/D04parameter.ztst') 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.' -- cgit 1.4.1