~ubuntu-branches/ubuntu/saucy/maradns/saucy

« back to all changes in this revision

Viewing changes to update/1.2.07.6/maradns-1.2.07.5-ej2man.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2006-06-18 11:09:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060618110928-vlbyk1d4rm5cbhmm
Tags: 1.2.07.6-1
* New upstream release
* Microsoft doesn't follow DNS standards (Closes: #373701)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- maradns-1.2.07.5/tools/ej/ej2man    2005-12-20 23:35:49.000000000 -0800
 
2
+++ maradns-1.2.07.6/tools/ej/ej2man    2006-05-30 03:09:31.000000000 -0700
 
3
@@ -21,6 +21,8 @@
 
4
 # Input: First argument or standard input
 
5
 # Output: Standard output
 
6
 
 
7
+use utf8;
 
8
+
 
9
 # Tmp dir (used for running iconv on non-8859-1 pages)
 
10
 $TMP = $ENV{'HOME'} . "/tmp";
 
11
 # Make this just /tmp at your own risk.  You have been warned.
 
12
@@ -217,6 +219,9 @@
 
13
               $parts[$hack] =~ s/\\/\\\\/g;
 
14
               # Make single quotes literal single quotes ('\(aq' in troff)
 
15
               $parts[$hack] =~ s/\'/\\\(aq/g;
 
16
+               # Handle the á character (Debian's lint complains if the 
 
17
+               # man page has raw hi-bit characters)
 
18
+               $parts[$hack] =~ s|á|\\\(\'a|g;
 
19
               $body .= $parts[$hack];
 
20
               $body .= ".fi\n";
 
21
               }