Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
On 06/17/2015 10:34 AM, Michael Convey wrote:
> Greg, thank you. Forgive my ignorance, but what does your output
> demonstrate? Are you proving that bash does not use fnmatch?
It doesn't matter whether bash directly uses fnmatch(), uses glob()
(which then uses fnmatch() under the hood), or uses an internal function
that has the same mandated behaviors. Yes, this output proved that bash
doesn't pull in fnmatch() from libc, but that's okay (in my earlier
mail, I said bash globbing behaves 'as-if' fnmatch were used, at least
for standardized patterns, but the standard does not require that
fnmatch actually be used, only that the same results can be obtained).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature