source:
MondoRescue/branches/2.2.5/mindi-busybox/shell/hush_test/hush-misc/shift.tests@
2181
Last change on this file since 2181 was 1765, checked in by , 17 years ago | |
---|---|
|
|
File size: 183 bytes |
Rev | Line | |
---|---|---|
[1765] | 1 | if test $# = 0; then |
2 | exec "$THIS_SH" $0 abc "d e" 123 | |
3 | fi | |
4 | echo $0 $1 $2 | |
5 | shift | |
6 | echo $0 $1 $2 | |
7 | shift 999 | |
8 | echo $0 $1 $2 | |
9 | shift 2 | |
10 | echo $0 $1 $2 | |
11 | shift 2 | |
12 | echo $0 $1 $2 | |
13 | shift | |
14 | echo $0 $1 $2 |
Note:
See TracBrowser
for help on using the repository browser.