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