Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16196
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Bug in manual |
| Date | 2020-04-20 15:50 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.825.1587412232.3066.bug-bash@gnu.org> (permalink) |
| References | <OF35487281.F9771135-ONC1258550.004FED6B-C1258550.00508E89@thyssenkrupp.com> <21699a17-9d3f-e954-e53d-7ca46a8ef761@case.edu> |
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/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Bug in manual Chet Ramey <chet.ramey@case.edu> - 2020-04-20 15:50 -0400
csiph-web