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

Bob X bobx at linuxmail.org
Thu Sep 12 03:07:45 CEST 2002


Fernando Pérez wrote:
> 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.
grep is not usually on Windows...and I *want* to use Python.  :-)




More information about the Python-list mailing list