Package: linuxdoc-tools
Version: 0.9.21
Severity: minor
Tags: patch

Hello,

running linuxdoc-tools, I encountered the following warning messages:

Processing file cbm4linux.sgml
gawk: /usr/share/linuxdoc-tools/info.awk:31: warning: escape sequence `\{' 
treated as plain `{'
gawk: /usr/share/linuxdoc-tools/info.awk:32: warning: escape sequence `\}' 
treated as plain `}'

Note: These messages only occur if gawk is installed; with mawk, they do
not appear.

I am no expert with awk, but from the message, I deduced that the
backslash escape characters in lines 31 and 32 of info.awk are wrong.
The attached mini-patch on info.awk fixes this. Notice that this patch
does not negatively affect using linuxdoc-tools with mawk.

Regards,
  Spiro.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.4.27-2-586tsc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages linuxdoc-tools depends on:
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  mawk                      1.3.3-11       a pattern scanning and text proces
ii  perl                      5.8.4-8sarge3  Larry Wall's Practical Extraction 
ii  sgml-base                 1.26           SGML infrastructure and SGML catal
ii  sgml-data                 2.0.3          common SGML and XML data
ii  sp                        1.3.4-1.2.1-43 James Clark's SGML parsing tools

-- no debconf information

Attachment: linuxdoc-tools-gawk.patch.gz
Description: Binary data

Reply via email to