find / -iregex not working as expected

2015-11-12 Thread Michael Convey
I'm trying to find the following files with a single 'find' statement: /var/lib/postgresql/9.4/main/postgresql.auto.conf /usr/lib/tmpfiles.d/postgresql.conf /etc/postgresql/9.4/main/postgresql.conf I tried the following (and more), but I can't figure it out: find / -iregex "*postgresql.*.conf" f

Re: Filename Expansion: Find Utility Pattern Matching vs Bash Shell Pattern Matching

2015-06-17 Thread Michael Convey
015 at 12:15 AM, Stephane Chazelas < stephane.chaze...@gmail.com> wrote: > 2015-06-16 12:02:33 -0700, Michael Convey: > > For filename expansion, the 'find' utility's '-name' option seems to > > function similarly, but not exactly the same as the b

Filename Expansion: Find Utility Pattern Matching vs Bash Shell Pattern Matching

2015-06-16 Thread Michael Convey
For filename expansion, the 'find' utility's '-name' option seems to function similarly, but not exactly the same as the bash shell's builtin pattern matching. Here are the relevant sections of the GNU reference manual: - Bash shell pattern matching: http://www.gnu.org/software/bash/manual/