multi-line-nested-command-substitution.expect   [plain text]


(
	foo &&
	x=$(
		echo bar |
		cat
>>	) &&
	echo ok
>) |
sort &&
(
	bar &&
	x=$(echo bar |
		cat
>>	) &&
	y=$(echo baz |
>>		fip) &&
	echo fail
>)