Efficient grep using Python?

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Thu Dec 16 06:18:24 EST 2004


On Wed, 15 Dec 2004 17:07:37 +0100, rumours say that "Fredrik Lundh"
<fredrik at pythonware.com> might have written:

>> Essentially, want to do efficient grep, i..e from A remove those lines which
>> are also present in file B.
>
>that's an unusual definition of "grep"

that would be

grep -vf B A

and it is a rare use of grep, indeed.
-- 
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...



More information about the Python-list mailing list