(
cd foo &&
echo a &&
echo b
) >file &&
# LINT: nested multi-line subshell not presently checked for missing "&&"
echo a
) >file
)