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

Bob X bobx at linuxmail.org
Wed Sep 11 21:07:45 EDT 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