1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

28528: Rearrange zleparse to lexflags

Add (z+n+)
This commit is contained in:
Peter Stephenson 2010-12-14 09:59:04 +00:00
parent 5858e79f4d
commit eab4f9a83c
10 changed files with 112 additions and 69 deletions

View file

@ -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.'