mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-10-07 18:50:18 +02:00
fixes: #21266 closes: #21314 Signed-off-by: Christian Brabandt <cb@256bit.org>
12 lines
423 B
Bash
12 lines
423 B
Bash
#!/bin/bash
|
|
# shTouch did not stop before a "{" or "}", so a curly block following
|
|
# a "touch" command in a list (e.g. after "||" or "&&") was swallowed
|
|
# into the shTouch match and its closing "}" was flagged as shCurlyError.
|
|
|
|
touch foo || { echo "touch failed" ; }
|
|
touch foo && { echo "touch ok" ; }
|
|
touch foo || { { echo nested ; } ; }
|
|
|
|
# unaffected: touch followed by a plain command substitution
|
|
touch "$(date +%s)"
|