(
for i in a b c
do
foo || exit 1
bar &&
baz
done
>) &&
while true
i=0 &&
while test $i -lt 10
echo $i || exit
i=$(($i + 1))
>)