nested-subshell.expect   [plain text]


(
	cd foo &&
	(
		echo a &&
		echo b
>>	) >file &&
	cd foo &&
	(
		echo a
		echo b
>>	) >file
>)