A question
Aahz Maruch
aahz at netcom.com
Sun Oct 17 15:26:58 EDT 1999
In article <FJrGMt.LIB at world.std.com>,
Will Ware <wware-nospam at world.std.com> wrote:
>
>Other folks have mentioned glob.glob(), which will work fine for
>things like "*.txt". If you want something more flexible, for
>instance all the *.c and *.h files that mention printf,
>you'd want to iterate on the output of something like
>
> find . -name '*.[ch]' -exec grep -l printf {} \;
What's wrong with os.path.walk() and agrep.py?
--
--- Aahz (@netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6 (if you want to know, do some research)
More information about the Python-list
mailing list