On 5/3/19 6:42 PM, Jonathan Simozar wrote:
> Hello,
>
> On the page
> http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html,
> in the section *${parameter%%word}*, there is a duplicate phrase in the
> sentence
>
> "If the pattern matches If the pattern matches a trailing portion of the
> expanded value of parameter, then the result of the expansion is the value
> of parameter with the shortest matching pattern (the ‘%’ case) or the
> longest matching pattern (the ‘%%’ case) deleted. "
Thanks for the report. This was fixed in the devel branch documentation
back in January. I have several fixes batched up for the online html
doc.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/