A2osX/TESTS/SHIFTTEST2.txt
Patrick Kloepfer 9097a3518b
2019-10-29 17:43:50 -04:00

35 lines
570 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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