Google
  Web www.spinics.net

Re: GPL and LGPL not acceptable for Fedora!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 8/17/07, Harald Hoyer <harald@xxxxxxxxxx> wrote:

ok, with the attached perl script, I quickly spotted for my packages:

Cool.  I briefly toyed with this problem yesterday but am unlikely to have a chance to improve my script in the next few days, so I'll just post it now because it has some architectural differences to yours.

* I have a feeling that regular expressions are only going to be part of the answer.  Files out there are messy.  Turns out Python has this neat "difflib" library for fuzzy text matching.
* It operates on all files, not just *.[ch]
* It uses Python's leet generator functionality to cleanly mix traversing a directory tree and searching


Attachment: analyze-directory
Description: Binary data

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Home]     [Fedora Users]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net