mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-24 14:31:05 +00:00
35 lines
570 B
Plaintext
35 lines
570 B
Plaintext
NEW
|
||
PREFIX
|
||
AUTO 4,1
|
||
#!/BIN/SH
|
||
#
|
||
#This is a test of passing args
|
||
#Echo $0 should be name of script
|
||
#
|
||
ECHO 0 Parm is $0
|
||
ECHO 1 Parm is $1
|
||
ECHO 2 Parm is $2
|
||
ECHO 3 Parm is $3
|
||
ECHO 4 Parm is $4
|
||
ECHO 5 Parm is $5
|
||
ECHO 6 Parm is $6
|
||
ECHO 7 Parm is $7
|
||
ECHO 8 Parm is $8
|
||
ECHO 9 Parm is $9
|
||
ECHO Parm Count is $#
|
||
Echo All Parms is $*
|
||
echo Process ID is $$
|
||
echo begin shift test - SHIFT 3 TIMES
|
||
echo $*
|
||
shift
|
||
echo $*
|
||
echo Shifting out 4
|
||
shift 4
|
||
echo $*
|
||
echo Shifting out 2
|
||
shift 2
|
||
echo $*
|
||
Echo Done
|
||
MAN
|
||
TEXT /MAKE/USR/SHARE/TESTS/SHIFTTEST2
|