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

Fernando Pérez fperez528 at yahoo.com
Thu Sep 12 00:23:22 CEST 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

Cheers,

f.



More information about the Python-list mailing list