From eab4f9a83c74b104bcfa81d574d5f8f8a7a85ad3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 14 Dec 2010 09:59:04 +0000 Subject: 28528: Rearrange zleparse to lexflags Add (z+n+) --- Test/D04parameter.ztst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 8791f570a..74c73b360 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -462,6 +462,17 @@ >with >comment + line=$'echo one\necho two # with a comment\necho three' + print -l ${(z+nc+)line} +0:Treating zplit newlines as ordinary whitespace +>echo +>one +>echo +>two +># with a comment +>echo +>three + psvar=(dog) setopt promptsubst foo='It shouldn'\''t $(happen) to a %1v.' -- cgit 1.4.1