There's a small mistake in one of the explanations of a specific example; more precisely, it says: In the code, "$x" is the name of a file, and "${x##.*}" has the effect of stripping all text except that following the last period in the filename. Where it should say: In the code, "$x" is the name of a file, and "${x##*.}" has the effect of stripping all text except that following the last period in the filename. (Notice that the only change is the wildcard in "${x##.*}". The script itself does not require any corrections.)
Actually, I realized the same mistake occurs two more times in the same paragraph. It's not that it's a vital error, but it surely creates some surprise in newbies' minds.
Fixed. Thanks for reporting.