[PUSHED] Add Switches to find-german-comments to aid in weeding false positives

Miklos Vajna vmiklos at suse.cz
Wed Mar 14 00:59:00 PDT 2012


Hi Tom,

On Tue, Mar 13, 2012 at 10:58:23PM -0400, Tom Thorogood <tom at tomthorogood.com> wrote:
> Added two switches to bin/find-german-comments
> The first is --line-numbers (-l), which outputs a filename only once,
> followed by (mostly) neat formatting of the line numbers with flagged
> comments. The second is --threshold (t), which suppresses any output for
> comments that have less than [t] flagged comments. This should help with
> false positives, since it seems that files with only 1 or 2 "German"
> comments are usually being flagged for hexadecimal code or something
> else entirely.
> 
> therefore: ../bin/find-german-comments -l -t1 > german.txt 
> will create a text file populated only with filenames and line numbers
> for files in the current directory (and subs) that have more than one
> comment in them.

Pushed, thanks!


More information about the LibreOffice mailing list