On Sun, Jan 11, 2015 at 01:43:21PM -0500, JWP wrote: > On 01/11/2015 12:07 PM, Benno Schulenberg wrote: > > > > On Sun, Jan 11, 2015, at 17:19, JWP wrote: > >> On 01/10/2015 08:41 AM, Benno Schulenberg wrote: > >>> -\fB\-\-uname\-2.6\fR > >>> -Causes the program to see a kernel version number beginning with 2.6. > >>> +.B \-\-uname-2.6 > >> > >> This is incorrect. Options are always constructed with minus signs never a hyphens. > >> The only time a hyphen should be used in man-pages is for normally hyphenated > >> dictionary words. Commands, options, variables, paths, urls, etc. all use the > >> minus sign character. > > > > You are right. However, on a terminal both hyphen and minus sign render > > to 0x2d. When printed, the characters are rendered differently, and then > > I prefer to see a tiny hyphen instead of a minus sign in hyphenated options. > > And since you cannot copy and paste from a printed document, it doesn't > > matter that the more readable hyphen is used instead of the correct minus > > sign. > > The world is going paperless, favoring print manuals over online is going the > wrong direction. Just because it uses the same glyph on your terminal does not > mean the same will be true for every application that renders a man-page. > > However, the more important point is not what glyph is printed, but how troff > formats a hyphen vs a minus sign. We do not want line breaks made mid: command, For me is important to use in man pages the same option names (same chars) like we have in source code where I see 0x2d, and I'd like like to minimize variability in the man pages, it's better to be consistent than be perfect. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html