help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Filename Expansion: Find Utility vs Bash Shell Pattern M


From: Chet Ramey
Subject: Re: [Help-bash] Filename Expansion: Find Utility vs Bash Shell Pattern Matching
Date: Wed, 17 Jun 2015 14:21:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/17/15 12:40 PM, Michael Convey wrote:
> Chet, thank you. However, I find no reference to strmatch from 'man -K
> strmatch' or from searching the Bash Reference Manual
> (http://www.gnu.org/software/bash/manual/bashref.html). From the following
> webpage, it appears that bash may use the GNU C Library's glob()
> function: http://www.gnu.org/software/bash/manual/bashref.html
> Thoughts? 

If you are interested in the differences between pathname expansion and
how `find' matches names, you might start with the Posix descriptions of
both:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_13
and
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html#tag_20_47

You'll find (ha) that `find' references the shell's pattern matching
with a specific set of exceptions that are used only for expansion.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]