From 61b9529ff848d6758b498389256111984bda1437 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 3 Oct 2012 18:11:12 +0000 Subject: users/17310: we can't treat < after [ as a normal character. Document problem and test for case that needs to work. --- Test/D06subscript.ztst | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'Test/D06subscript.ztst') diff --git a/Test/D06subscript.ztst b/Test/D06subscript.ztst index f91d62f2f..cffca742e 100644 --- a/Test/D06subscript.ztst +++ b/Test/D06subscript.ztst @@ -249,23 +249,3 @@ string[0]=! 1:Can't set only element zero of string ?(eval):1: string: assignment to invalid subscript range - - string="Life,+like+a+dome+of+many-colour'd+glass" - for delims in "()" "{}" "[]" "<>"; do - eval 'print ${string[(ws'$delims[1]'+'$delims[2]')2]}' - eval 'print $string[(ws'$delims[1]'+'$delims[2]')3]' - eval 'print "$string[(ws'$delims[1]'+'$delims[2]')4]"' - done -0:Check matched delimiters in subscripts ->like ->a ->dome ->like ->a ->dome ->like ->a ->dome ->like ->a ->dome -- cgit 1.4.1