Am Sun, 26 Sep 2010 18:09:16 -0400 (EDT) schrieb "Chris F.A. Johnson" <ch...@cfajohnson.com>:
> On Sun, 26 Sep 2010, Christopher Roy Bratusek wrote: > > > btw. How can I remove the last arguement ${!#} ? > > > > I tried args=${@:-${!#}} but that won't work. > > args=( "$@" ) > unset args[$#-1] > set -- "${ar...@]}" > Thanks a lot.