Re: [CentOS] Bug in find command?

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



On Wed, 2006-09-27 at 13:04 -0500, Steve Bergman wrote:
> On Wed, 2006-09-27 at 13:43 -0400, William L. Maltby wrote:
> 
> > Please see my other reply.
> > 
> > I specified the dot and it should have matched. Even if I'm wrong, we
> > still have a problem because it found ".c".
> > 
> 
> I don't see where you specified the dot.  To find any hidden files
> ending in .cmd you should have:
> 
> find . -name '.*.cmd'
> 
> This is specifically mentioned on the man page.

C & P from my *original* post

<snip>
find . -iname '*.cmd' >/tmp/FilesFoundDotCmd
find . -iname '*.c' >/tmp/FilesFoundDotC

If *that* ain't a dot, I really need new glasses. As to what the man
states, you are correct of course. It has been this way since 1978, to
my knowledge.

I'm not always able to keep up with new stuff, but I sure hang on to old
stuff well!  :-)

> 
> -Steve
> <snip sig stuff>

Thx
--
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux