Subject: [PATCH] Document that words are lowercased in spelling checks and how to reproduce

From: Raphael Geissert <[email-masked]>
Date: Fri, 1 May 2009 13:30:57 -0500

Mention how to find the original word in the binary and the original word
in the source tree.  Thanks to Paul Gevers for the suggestion.
---
 checks/binaries.desc |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/checks/binaries.desc b/checks/binaries.desc
index dda8633..eafce44 100644
--- a/checks/binaries.desc
+++ b/checks/binaries.desc
@@ -223,13 +223,22 @@ Certainty: wild-guess
 Experimental: yes
 Info: Lintian found a spelling error in the given binary.  Lintian has a
  list of common misspellings that it looks for.  It does not have a
- dictionary like a spelling checker does.
+ dictionary like a spelling checker does.  For lintian's convenience all
+ words are normalised to lower case.
  .
  If the string containing the spelling error is translated with the help
  of gettext or a similar tool, please fix the error in the translations as
  well as the English text to avoid making the translations fuzzy.  With
  gettext, for example, this means you should also fix the spelling mistake
  in the corresponding msgids in the *.po files.
+ .
+ To find the original word you can run:
+ .
+ <tt>strings &lt;binary&gt; | grep -i &lt;word&gt;</tt>
+ .
+ You can often find the word in the source code by running:
+ .
+ <tt>grep -r '\b&lt;original-word&gt;\b' &lt;source-tree&gt;</tt>
 
 Tag: embedded-zlib
 Severity: important