[comp.unix.questions] SOLUTION to ksh argument parsing

jonc@uts.amdahl.com (Jonathan Chang) (09/01/90)

Thanks for all the responses!  The most popular (and easiest) 
way to extract the last argument passed to a ksh script is:

eval lastarg=\${$#}


$# == the total number of arguments