1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

43726: Add tests for semicolon in the middle of a sublist not terminating it.

This commit is contained in:
Daniel Shahaf 2018-10-24 15:17:35 +00:00
parent a4e435b873
commit 73b1328049
2 changed files with 15 additions and 0 deletions

View file

@ -873,3 +873,13 @@
0:Assignment-only current shell commands in LHS of pipelin
>1
>1
echo pipe | ; sed s/pipe/PIPE/
true && ; echo and true
false && ; echo and false
true || ; echo or true
false || ; echo or false
0:semicolon is equivalent to newline
>PIPE
>and true
>or false