[FEEDBACK] Is this script efficient...is there a better way?

Fernando Pérez fperez528 at yahoo.com
Wed Sep 11 18:23:22 EDT 2002

Bob X wrote:

> I use this to parse a log file (30MB+) for keywords and write the lines
> that are found into another file.
> Any thoughts would be appreciated...  :-)

How about

$ grep words infile | tee outfile



More information about the Python-list mailing list