You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
466 B
26 lines
466 B
![]()
7 years ago
|
(
|
||
|
# LINT: missing internal "&&" and ending "&&"
|
||
|
cat foo ; echo bar
|
||
|
# LINT: final statement before ")" only missing internal "&&"
|
||
|
cat foo ; echo bar
|
||
|
) &&
|
||
|
(
|
||
|
# LINT: missing internal "&&"
|
||
|
cat foo ; echo bar &&
|
||
|
cat foo ; echo bar
|
||
|
) &&
|
||
|
(
|
||
|
# LINT: not fooled by semicolon in string
|
||
|
echo "foo; bar" &&
|
||
|
cat foo; echo bar
|
||
|
) &&
|
||
|
(
|
||
|
# LINT: unnecessary terminating semicolon
|
||
|
foo;
|
||
|
) &&
|
||
|
(cd foo &&
|
||
|
for i in a b c; do
|
||
|
# LINT: unnecessary terminating semicolon
|
||
|
echo;
|
||
|
done)
|