Re: ${@:0:n} includes one parameter too few

2009-10-09 Thread Chet Ramey
n...@s-z.org wrote: > Bash Version: 4.0 > Patch Level: 33 > Release Status: release > > [apologies if this is a duplicate; the first copy may have been sent with > a bad From: address] > > Description: > "${@:0:n}" should expand to $0 followed by n-1 positional parameters, > but act

${@:0:n} includes one parameter too few

2009-10-09 Thread neil
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKA