Bug#782902: lintian: please ignore tEH in spelling-error-in-binary
Package: lintian
Version: 2.5.30+deb8u4
Severity: normal
Hi,
this bug is related to: https://bugs.debian.org/711207.
An analysis of https://lintian.debian.org/tags/spelling-error-in-binary.html
shows that the common spelling mistakes of 'the' are:
tEh 10
teh 78
tEH 1090
I recommend ignoring 'tEH' since it is arguably a false positive.
It can be also argued that 'tEh' is a mishit, but I leave it to you.
'teh' on the other hand looks like a genuine mistake (no shift needed).
I attach a patch for Lintian (not tested).
Cheers,
Tomasz
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.25-5
ii bzip2 1.0.6-7+b3
ii diffstat 1.58-1
ii file 1:5.22+15-2
ii gettext 0.19.3-2
ii hardening-includes 2.6
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.29+b2
ii libarchive-zip-perl 1.39-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.37-1+b1
ii libdpkg-perl 1.17.25
ii libemail-valid-perl 1.195-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-2+b1
ii libparse-debianchangelog-perl 1.2.0-1.1
ii libtext-levenshtein-perl 0.11-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.64-1
ii man-db 2.7.0.2-5
ii patchutils 0.3.3-1
ii perl [libdigest-sha-perl] 5.20.2-3
ii t1utils 1.38-4
Versions of packages lintian recommends:
pn libperlio-gzip-perl <none>
ii perl 5.20.2-3
ii perl-modules [libautodie-perl] 5.20.2-3
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.17.25
ii libhtml-parser-perl 3.71-1+b3
ii libtext-template-perl 1.46-1
ii libyaml-perl 1.13-1
ii xz-utils 5.1.1alpha+20120614-2+b3
-- no debconf information
>From fe16568353b96d04402903de80b1a91691aa2dac Mon Sep 17 00:00:00 2001
From: Tomasz Buchert <tomasz@debian.org>
Date: Sun, 19 Apr 2015 18:14:30 +0200
Subject: [PATCH] ignore tEH and tEh as well
---
checks/binaries.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/checks/binaries.pm b/checks/binaries.pm
index 94050ab..986d803 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -328,6 +328,8 @@ sub run {
my $exceptions = {
%{ $group->info->spelling_exceptions },
'teH' => 1, # From #711207
+ 'tEH' => 1,
+ 'tEh' => 1,
};
check_spelling('spelling-error-in-binary',$strings, $file,$exceptions);
--
2.1.4
Reply to: