repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'rj/sparse-flags'
[git.git]
/
t
/
chainlint
/
one-liner.test
blob
ec9acb98253de1e3c3f94c9843142b45745088b1
1
# LINT: top-level one-liner subshell
2
(foo && bar) &&
3
(foo && bar) |
4
(foo && bar) >baz &&
5
6
# LINT: top-level one-liner subshell missing internal "&&"
7
(foo; bar) &&
8
(foo; bar) |
9
(foo; bar) >baz
10
11
# LINT: ";" in string not misinterpreted as broken &&-chain
12
(foo "bar; baz")