Last change
on this file since 3388 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
587 bytes
|
Rev | Line | |
---|
[3320] | 1 | echo ! printing !
|
---|
| 2 | ! false
|
---|
| 3 | echo $?
|
---|
| 4 | ! true
|
---|
| 5 | echo $?
|
---|
| 6 | if ! false; then false; echo $?; fi
|
---|
| 7 | echo $?
|
---|
| 8 | if ! false; then ! false; echo $?; fi
|
---|
| 9 | echo $?
|
---|
| 10 | PRINTF=`which printf`
|
---|
| 11 | for a in ! a b c; do echo $a; done
|
---|
| 12 | for a in ! a b c; do ! printf "$a "; echo $?; done
|
---|
| 13 | test x"$PRINTF" = x"" && exit 1
|
---|
| 14 | for a in ! a b c; do ! "$PRINTF" "$a "; echo $?; done
|
---|
| 15 | for a in ! a b c; do ! printf "$a " | false; echo $?; done
|
---|
| 16 | for a in ! a b c; do ! printf "$a " | true; echo $?; done
|
---|
| 17 | for a in ! a b c; do ! { printf "$a " | false; }; echo $?; done
|
---|
| 18 | for a in ! a b c; do ! { printf "$a " | true; }; echo $?; done
|
---|
| 19 | echo Done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.