On Mon, 2015-01-26 at 10:38 +0200, sam...@openvpn.net wrote: > From: Alberto Gonzalez Iniesta <a...@inittab.org> > > This patch continues the work started in commit 886593ac4ae ("The man page > needs > dash escaping in UTF-8 environments"). This patch is one of the patches > included > in Debian's OpenVPN packages.
Note that this isn't perfect either. The escaped \- is supposedly rendered as a minus sign... but you don't actually *want* a minus sign. If you ever render the manual into HTML, that's exactly what you'll get: U+2212 MINUS SIGN. I've had users complaining to me because when they cut and paste from an HTML-rendered man page, their command lines don't work. What you really want is U+002D HYPHEN-MINUS¹. I think it could actually be considered a groff bug if you *do* get U+002D HYPHEN-MINUS in the UTF-8 terminal output — it should be U+2212 MINUS SIGN there too, according to the definition. FWIW I *can* search for 'For --management-client' even before this patch, on Fedora 21. Changing to \- isn't required to fix the searching here. Is it still required on Debian? -- dwmw2
smime.p7s
Description: S/MIME cryptographic signature