Does Python seem appropriate for me?
Paul Jackson
pj at sgi.com
Mon Apr 23 18:19:05 EDT 2001
Holland King suggested:
|> how about:
|> find . | grep *.py
As Steve replied, you'd want to quote and ground the pattern,
resulting in some such as:
find . | grep '\.py$'
In the given case,
find . -name '*.py'
is easier.
However the above "find-pipe-grep" pattern is quite useful
if the name pattern you are searching for is more easily
expressed using grep regular expressions than using shell
(or find) glob expressions.
--
I won't rest till it's the best ...
Manager, Linux System Software
Paul Jackson <pj at sgi.com> 1.650.933.1373
More information about the Python-list
mailing list