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 c...@case.edu http://tiswww.cwru.edu/~chet/