1( 2 for i in a b c 3 do 4 foo || exit 1 5 bar && 6 baz 7 done 8>) && 9( 10 while true 11 do 12 foo || exit 1 13 bar && 14 baz 15 done 16>) && 17( 18 i=0 && 19 while test $i -lt 10 20 do 21 echo $i || exit 22 i=$(($i + 1)) 23 done 24>)
(
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))
>)