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. "