bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in manual


From: Chet Ramey
Subject: Re: Bug in manual
Date: Mon, 20 Apr 2020 15:50:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 4/20/20 10:39 AM, Péter Kozics wrote:
> In this one
> https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Shell-Parameter-Expansion
>  
> 
> 
> one can read
> "Substring indexing is zero-based unless the positional parameters are 
> used, in which case the indexing starts at 1 by default. If offset is 0, 
> and the positional parameters are used, $@ is prefixed to the list. "
> 
> but should read
> "Substring indexing is zero-based unless the positional parameters are 
> used, in which case the indexing starts at 1 by default. If offset is 0, 
> and the positional parameters are used, $0 is prefixed to the list. "

Thanks for the report.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]