The manual says:
>A positional parameter is a parameter denoted by one or more
>digits, other than the single digit 0.

And about `${@:offset:length}', this is what's written there:
>If parameter is @, the result is length positional
>parameters beginning at offset.

Given these statements, I wouldn't expect `$0' to be included in the
expansion of `${@:0}', yet it is.

Wouldn't it be better if it said
> ... beginning at offset, including $0 if offset is zero.
or something like that instead?


-- 
Oğuz

Reply via email to