The syntax I'm currently using to access the last element of an array looks a little evil:
>arr=( one two three ) >echo ${arr[$(([EMAIL PROTECTED]))]} three If there is not currently a friendlier syntax for this, might I suggest: ${arr[-1]} -- Poor Yorick _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash