Bug#526435: lintian: [checks/binaries.desc] Please add to the description that the case of the string can be different

2009-05-01 Thread Paul Gevers
Package: lintian
Version: 2.2.10
Severity: wishlist

*** Please type your report below this line ***

I spend quite some time yesterday of finding a sting which was in all
CAPS. Please add some comment to the description that the string
reported might be found in any variant of capitization. Maybe also a add
comment on how to find the string yourself, i.e. use
strings binary | grep -i string.

Kind regards
Paul

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-11-generic (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=nl_NL.UTF-8 (charmap=ANSI_X3.4-1968) (ignored:
LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils   2.19.1-1  The GNU assembler, linker
and bina
ii  diffstat   1.46-1produces graph of changes
introduc
ii  dpkg-dev   1.14.26   Debian package development
tools
ii  file   5.00-1Determines file type using
magic
ii  gettext0.17-6GNU Internationalization
utilities
ii  intltool-debian0.35.0+20060710.1 Help i18n of RFC822
compliant conf
ii  libipc-run-perl0.82-1Perl module for running
processes
ii  libparse-debianchangel 1.1.1-2   parse Debian changelogs and
output
ii  libtimedate-perl   1.1600-9  Time and date functions for
Perl
ii  liburi-perl1.37+dfsg-1   Manipulates and accesses
URI strin
ii  man-db 2.5.5-1   on-line manual pager
ii  perl [libdigest-sha-pe 5.10.0-19 Larry Wall's Practical
Extraction

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarchnone (no description available)
pn  libtext-template-perl none (no description available)
ii  man-db2.5.5-1on-line manual pager

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#526435: lintian: [checks/binaries.desc] Please add to the description that the case of the string can be different

2009-05-01 Thread Raphael Geissert
tag 526435 patch
thanks

Hi Paul,

Paul Gevers wrote:

 
 I spend quite some time yesterday of finding a sting which was in all
 CAPS. Please add some comment to the description that the string
 reported might be found in any variant of capitization. Maybe also a add
 comment on how to find the string yourself, i.e. use
 strings binary | grep -i string.
 

Good idea, thanks. The new description proposed in the attached patch
follows:

N: spelling-error-in-binary
N:
N:   Lintian found a spelling error in the given binary. Lintian has a list
N:   of common misspellings that it looks for. It does not have a
N:   dictionary like a spelling checker does. For lintian's convenience all
N:   words are normalised to lower case.
N:
N:   If the string containing the spelling error is translated with the
N:   help of gettext or a similar tool, please fix the error in the
N:   translations as well as the English text to avoid making the
N:   translations fuzzy. With gettext, for example, this means you should
N:   also fix the spelling mistake in the corresponding msgids in the *.po
N:   files.
N:
N:   To find the original word you can run:
N:
N:   strings binary | grep -i word
N:
N:   You can often find the word in the source code by running:
N:
N:   grep -r '\boriginal-word\b' source-tree


Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net



lintian-spelling_desc.mbox
Description: application/mbox


Bug#526435: lintian: [checks/binaries.desc] Please add to the description that the case of the string can be different

2009-05-01 Thread Adam D. Barratt
On Fri, 2009-05-01 at 13:32 -0500, Raphael Geissert wrote:
 Paul Gevers wrote:
 
  
  I spend quite some time yesterday of finding a sting which was in all
  CAPS. Please add some comment to the description that the string
  reported might be found in any variant of capitization. Maybe also a add
  comment on how to find the string yourself, i.e. use
  strings binary | grep -i string.
  
 
 Good idea, thanks. The new description proposed in the attached patch
 follows:

Applied, thanks (with only one small tweak, to s/lintian/Lintian/ :-)

 N:   To find the original word you can run:
 N:
 N:   strings binary | grep -i word
 N:
 N:   You can often find the word in the source code by running:
 N:
 N:   grep -r '\boriginal-word\b' source-tree

Shouldn't that be grep -ir?

Regards,

Adam



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org