Your message dated Tue, 08 Apr 2008 19:32:38 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#416391: fixed in txt2man 1.5.5-1
has caused the Debian Bug report #416391,
regarding txt2man: ends up with visible \fB in front of the first hing that 
looks like a command-line option on a line
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
416391: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416391
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: txt2man
Version: 1.5.1-1
Severity: important
Tags: patch

txt2man's own manpage currently looks like this (excerpted)
==
       \fB-h  The option -h displays help.
==

This is because the Debian patch to backslash-escape dashes is only applying
to the first dash on a line, and does not extend the shell-option matching
code to recognise the escaped-dash's backslash as belonging to the dash.

The below patch fixes this:

(It will fuzz with the patch I just sent to #221268. They both work together 
though,
and the parts that overlap are the same change to different lines)

--- /usr/bin/txt2man    2006-10-27 17:09:18.000000000 +1000
+++ txt2man     2007-03-28 00:57:27.000000000 +1000
@@ -187,7 +187,7 @@
        sub(/\.\.\./, "\\.\\.\\.")
        # remove spaces in empty lines
        sub(/^ +$/,"")
-       sub(/-/,"\\-")                  # backslash-escape hyphens
+       gsub(/-/,"\\-")                  # backslash-escape hyphens
 }
 /^[[:upper:][:space:]]+$/ {
        # Section header
@@ -307,7 +307,7 @@
        for (i in subwords)
                gsub(i, subwords[i])
        # shell options
-       gsub(/\B\-+\w+(\-\w+)*/, "\\fB&\\fP")
+       gsub(/\B\\-+\w+(\-\w+)*/, "\\fB&\\fP")
        # unprotect dots inside words
        gsub(/_dOt_/, ".")
 

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

-- 
Paul "TBBle" Hampson, [EMAIL PROTECTED]

Shorter .sig for a more eco-friendly paperless office.

Attachment: pgpgfnEzohCtZ.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: txt2man
Source-Version: 1.5.5-1

We believe that the bug you reported is fixed in the latest version of
txt2man, which is due to be installed in the Debian FTP archive:

txt2man_1.5.5-1.diff.gz
  to pool/main/t/txt2man/txt2man_1.5.5-1.diff.gz
txt2man_1.5.5-1.dsc
  to pool/main/t/txt2man/txt2man_1.5.5-1.dsc
txt2man_1.5.5-1_all.deb
  to pool/main/t/txt2man/txt2man_1.5.5-1_all.deb
txt2man_1.5.5.orig.tar.gz
  to pool/main/t/txt2man/txt2man_1.5.5.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robin Cornelius <[EMAIL PROTECTED]> (supplier of updated txt2man package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 25 Mar 2008 11:56:20 +0000
Source: txt2man
Binary: txt2man
Architecture: source all
Version: 1.5.5-1
Distribution: unstable
Urgency: low
Maintainer: Fredrik Steen <[EMAIL PROTECTED]>
Changed-By: Robin Cornelius <[EMAIL PROTECTED]>
Description: 
 txt2man    - Converts flat ASCII text to man page format
Closes: 221268 415390 416391 440214
Changes: 
 txt2man (1.5.5-1) unstable; urgency=low
 .
   * New upstream release. (Closes:#415390)
   * Incorrect generation of nroff for command line arguments
     (Closes: #416391, #440214)
   * Use gsub instead of sub to correctly parse file. (Closes: #221268)
   * Fix lintian warnings due to incorrectly generated nroff comments
Files: 
 130189dbb1aea2aa17c16d9baf6c0624 659 text optional txt2man_1.5.5-1.dsc
 d10fe6e9876a2969201ea4d75ac9ea48 16136 text optional txt2man_1.5.5.orig.tar.gz
 4507de92230e1fe67ce1d86a17617a76 2470 text optional txt2man_1.5.5-1.diff.gz
 4786a5586f114a90d4744439d03f7f51 15274 text optional txt2man_1.5.5-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH+8VQ2pHue6WOFk8RAkmcAKCBzpXi/Jod76wM1hToBW//k86VnACcCaTC
Cj6REPweshaik2BLddfE/II=
=YUjr
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to