2018-07-11 08:46:41 +02:00
|
|
|
(
|
|
|
|
for i in a b c
|
|
|
|
do
|
|
|
|
if false
|
|
|
|
then
|
2022-09-01 02:29:49 +02:00
|
|
|
# LINT: missing "&&" on "echo" okay since "exit 1" signals error explicitly
|
2018-07-11 08:46:41 +02:00
|
|
|
echo "err"
|
|
|
|
exit 1
|
2021-12-13 07:30:46 +01:00
|
|
|
# LINT: missing "&&" on "fi"
|
2018-07-11 08:46:41 +02:00
|
|
|
fi
|
|
|
|
foo
|
2021-12-13 07:30:46 +01:00
|
|
|
# LINT: missing "&&" on "done"
|
2018-07-11 08:46:41 +02:00
|
|
|
done
|
|
|
|
bar
|
|
|
|
)
|