blob: 72e731fe9e8bb5989437b8b7ba8f6640ea2355f6 [file] [log] [blame]
Denis Vlasenkoa8442002008-06-14 11:00:17 +00001echo ! printing !
2! false
3echo $?
4! true
5echo $?
6if ! false; then false; echo $?; fi
7echo $?
8if ! false; then ! false; echo $?; fi
9echo $?
10for a in ! a b c; do echo $a; done
11for a in ! a b c; do ! echo -n "$a "; echo $?; done
12for a in ! a b c; do ! /bin/echo -n "$a "; echo $?; done
13for a in ! a b c; do ! echo -n "$a " | false; echo $?; done
14for a in ! a b c; do ! echo -n "$a " | true; echo $?; done
15for a in ! a b c; do ! { echo -n "$a " | false; }; echo $?; done
16for a in ! a b c; do ! { echo -n "$a " | true; }; echo $?; done