Re: Stupid question: why "find" command does not work?

From: mfarner (slan.netw.wwws_at_dfgh.net)
Date: 07/23/04


Date: 23 Jul 2004 04:14:37 -0700


"gino" <mizhael@yahoo.com> wrote in message news:<cd74ka$mus$1@news.Stanford.EDU>...
> Hi all,
>
> Here is the problem: I am looking for a file "untitled.m" using "find"
> command:
>
> If I type:
>
> >>find . -name untitled.m
>
> it gives the correct result:
>
> >>./aaa/bbb/ccc/untitled.m
>
> but if I type:
>
> >> find . -name *untitled*
>
> it gives the wrong result:
>
> >> find: No match
>
>
>
> Anybody knows why? Thanks a lot,
>
> -Gino

Here's a function I savagely stole from somewhere,
advanced-bash-scripting I think. It goes in your .bashrc
or similar file.
It searches from the current directory,
and is case insensitive and seems to work with anything.
# example ff rEaDmE
function ff() { find . -iname '*'$1'*' ; }

some more linux tips and rpm building help at
http://www.freewebs.com/specfiles/
no cookies, no counters, no nothing. as far as I know,
I'm the only one who has visited my site, except for the
few who complain about the colors.



Relevant Pages

  • Re: Stupid question: why "find" command does not work?
    ... no cookies, no counters, no nothing. ... few who complain about the colors. ...
    (linux.redhat.misc)
  • Re: "lobert" can u answer this
    ... My posting is considered ... Now you are posting about SAF, ... Even skipping over his immediate command ... If u r a nobody in the army, ur complain ...
    (soc.culture.singapore)
  • Re: "lobert" can u answer this
    ... u r not worth the dirt I stand on. ... My posting is considered ... Even skipping over his immediate command ... If u r a nobody in the army, ur complain ...
    (soc.culture.singapore)
  • Re: "lobert" can u answer this
    ... Trouble maker like u is not worth listening to. ... Even skipping over his immediate command ... If you were not an army officer, you have no credibility and no one will believe you. ... If u r a nobody in the army, ur complain ...
    (soc.culture.singapore)
  • Re: [SLE] reply-to settings
    ... >> to be a SuSE employee. ... I don't complain, I simply ask somebody that I think to be influential to ... use his influence. ... Except that it doesn't have a "reply to list" command. ...
    (SuSE)