summaryrefslogtreecommitdiffstats
path: root/t/chainlint/for-loop.expect
blob: d2237f1e38fad73938ff6335dac9de538e337caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
	for i in a b c
	do
		echo $i ?!AMP?!
		cat <<-\EOF ?!LOOP?!
		bar
		EOF
	done ?!AMP?!

	for i in a b c; do
		echo $i &&
		cat $i ?!LOOP?!
	done
)