summaryrefslogtreecommitdiff
path: root/t/chainlint/multi-line-nested-command-substitution.test
blob: 300058341b6f303dce9d8e8105b6f16fa25f2ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(
	foo &&
	x=$(
		echo bar |
		cat
	) &&
	echo ok
) |
sort &&
(
	bar &&
	x=$(echo bar |
		cat
	) &&
	y=$(echo baz |
		fip) &&
	echo fail
)