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 actually expands to $0 followed by n-2 positional parameters, > for a total of only n-1 words. This is different from ksh's > behaviour, and seems unintentional and inconsistent.
Thanks for the report. This has already been fixed for bash-4.1. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/