Re: `${@:0}' expands to `$0 $1 ...', even though `$0' is not a positional parameter

2021-03-03 Thread Oğuz
3 Mart 2021 Çarşamba tarihinde Chet Ramey yazdı: > On 3/3/21 9:59 AM, Oğuz wrote: > >> 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

Re: `${@:0}' expands to `$0 $1 ...', even though `$0' is not a positional parameter

2021-03-03 Thread Chet Ramey
On 3/3/21 9:59 AM, Oğuz wrote: 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.

`${@:0}' expands to `$0 $1 ...', even though `$0' is not a positional parameter

2021-03-03 Thread Oğuz
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 would