: test for new shell
set n = $N
set n - 1
echo There were $n arguments.
echo Here is a list.
set c = 1
: loop
if $n = 0 exit
echo Argument $c was $1.
shift
set n - 1
set c + 1
goto loop
