[PATCH] Add option to find-german-comments to only list filenames

Philipp Weissenbacher p.weissenbacher at gmail.com
Tue Mar 6 13:03:32 PST 2012


Hi all!

Here's a patch for find-german-comments:
This adds the argument -f (--filenames-only), which only prints the
filenames of files containing German comments.
I personally scan the whole file for German strings anyway, as we do not
find German strings with less than 4 chars. So there's not so much use in
printing the found strings.

Please note that my Python is noob-level at best, so I might not do things
in a very pythonic way.

Cheers,
    Philipp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120306/f9a8e983/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-option-to-only-list-filenames.patch
Type: application/octet-stream
Size: 2233 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120306/f9a8e983/attachment.obj>


More information about the LibreOffice mailing list