[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Searching on Windows (find, grep, and indexed search)
From: |
Scott Jaderholm |
Subject: |
Re: [h-e-w] Searching on Windows (find, grep, and indexed search) |
Date: |
Fri, 28 Sep 2007 16:29:51 -0600 |
Lennart,
Thanks for the reply
On 9/28/07, Lennart Borgman (gmail) <address@hidden> wrote:
> Scott Jaderholm wrote:
> > Search:
> > 1 - directory for file named "string"
>
> Just to answer you I tried it (I am actually not using find-dired myself):
>
> M-x find-dired
> Run find in directory: YOUR-DIR
> Run find (with args): -name YOUR-FILE
>
> It worked for me - so I learned something ;-)
I get this result:
c:/Scott/:
find . "(" -name test ")" -exec ls -ld "{}" ";"
Access denied - .
File not found - -NAME
File not found - TEST
File not found - )
File not found - -EXEC
File not found - LS
File not found - -LD
File not found - {}
File not found - ;
find exited abnormally with code 1 at Fri Sep 28 15:44:36
>
> > 2 - directory for file containing "string"
>
> Try lgrep or rgrep:
>
> M-x lgrep
> Search for (default "bla"): YOUR-STRING
>
That works for me, but I get the following error 16 times in
*Compile-Log* when I type M-x lgrepRET:
Warning: `error' called with 1 args to fill 0 format field(s)
Thank you,
Scott
- [h-e-w] Searching on Windows (find, grep, and indexed search), Scott Jaderholm, 2007/09/28
- Re: [h-e-w] Searching on Windows (find, grep, and indexed search), Lennart Borgman (gmail), 2007/09/28
- Re: [h-e-w] Searching on Windows (find, grep, and indexed search),
Scott Jaderholm <=
- Re: [h-e-w] Searching on Windows (find, grep, and indexed search), Eli Zaretskii, 2007/09/29