blob: 4ff6ddd8cbd078d3288cc4611a66bb4fbe7c4a04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# LINT: start of subshell chained to preceding command
mkdir sub && (
cd sub &&
foo the bar
nuff said
) &&
# LINT: preceding command pipes to subshell on same line
cut "-d " -f actual | (read s1 s2 s3 &&
test -f $s1
test $(cat $s2) = tree2path1 &&
# LINT: closing subshell ")" correctly detected on same line as "$(...)"
test $(cat $s3) = tree3path1)
|