From 6269db883ad6989a578bac299deab9c4285bb1df Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 10 May 2015 19:19:34 +0100 Subject: 35067: Add (b) parameter flag for pattern char backslashing. Doc tweak from Daniel in 35071. Includes test. --- Test/D04parameter.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 42c7b4ec6..17a59cb2c 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1699,3 +1699,7 @@ > > >Four + + funnychars='The qu*nk br!wan f@x j/mps o[]r the la~# ^"&;' + [[ $funnychars = ${~${(b)funnychars}} ]] +0:${(b)...} quoting protects from GLOB_SUBST -- cgit 1.4.1