Hi I have attached a patch that resolves this hyphen encoding error. I
verified the fix on a clean Ubuntu 24.04 instance (Oracle Cloud) to
ensure it wasn't specific to my local environment.

The binary hex dumps now confirm the output contains the correct escaped
sequence (\-) rather than a hard hyphen. I also checked the groff
intermediate output to verify it is explicitly using the semantic minus
glyph (C\-), which clears up the hyphen-used-as-minus-sign lintian
warning.

You can find the full verification log, including the raw reproduction
steps and hex output, in my repo here: https://github.com/YIN-
Renlong/ubuntu-launchpad-patch-log/tree/main/docbook-utils/bug-19987

Thanks!

** Patch added: "fix.patch"
   
https://bugs.launchpad.net/ubuntu/+source/docbook-utils/+bug/19987/+attachment/5940272/+files/fix.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/19987

Title:
  docbook2man uses hyphens instead of minus signs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docbook-utils/+bug/19987/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to