Package: man-db
Version: 2.12.0-1
Severity: normal
X-Debbugs-Cc: f...@obfusk.net

Hi!

I ran into this before with curl in #1043309, but it seems many other
man pages (e.g. apksigner, apksigcopier, pandoc, yt-dlp, etc.) are
affected as well, which makes me wonder if this is not something that
should be fixed in man instead.

Example:

  $ man apksigner

  Now copy the string that looks like "--version" for the following
  two commands instead of typing it by hand:

  $ apksigner ‐‐version
  Unsupported command: ‐‐version. See --help for supported commands
  $ xxd <<< ‐‐version
  00000000: e280 90e2 8090 7665 7273 696f 6e0a       ......version.

  Typing it by hand with actual dashes (ASCII 0x2d) instead of U+2010:

  $ apksigner --version
  0.9
  $ xxd <<< --version
  00000000: 2d2d 7665 7273 696f 6e0a                 --version.

Workaround:

  $ LC_ALL=C man apksigner

- Fay

Reply via email to