[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find-grep-dired docstring remove "ARG" discussion
From: |
jidanni |
Subject: |
find-grep-dired docstring remove "ARG" discussion |
Date: |
Tue, 28 Aug 2007 21:51:22 +0800 |
!find-grep-dired is an interactive compiled Lisp function in `find-dired.el'.
!(find-grep-dired DIR REGEXP)
!
!Find files in DIR containing a regexp REGEXP and start Dired on output.
!The command run (after changing into DIR) is
!
! find . -exec grep -s -e REGEXP {} \; -ls
!
!Thus ARG can also contain additional grep options.
What ARG is he talking about? Must be left over from some other docstring.
All I know is I tried to add a -i:
(find-grep-dired "/var/lib/mediawiki-1.10.0/" "-i oversight")
and it ended up getting glued on to the search string:
find . \( -type f -exec grep -q -e -i\ oversight \{\} \; \) -exec ls -ld \{\}
\;
Plus there is the -e there anyway.
Conclusion: don't say "Thus ARG can also contain additional grep
options".
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- find-grep-dired docstring remove "ARG" discussion,
jidanni <=