bash: accessing the last positional parameter?

From: Daniel Ganek (ganek_at_attbi.com)
Date: 08/21/03


Date: Thu, 21 Aug 2003 13:25:29 -0400


Consider:

$ set a b c
$ echo $#
3
$ echo $3
c
$ echo ${$#}
13442

What's going on?
All I want to do is access the last positional parameter.

/dan