[Pkg-shadow-devel] gpasswd, newgrp and gshadow man pages

Nicolas François nicolas.francois@centraliens.net
Thu, 7 Apr 2005 22:04:59 +0200


Hello Tomasz,

I knew I had to answer this mail, but could not find it back.

> OK. I'll try sync thys with version on HEAD.

Thanks for your commits

> Most of changes it is replace s,-,\-,
> Any reasons ? I don't see any kind of incorrect rendefing roff files 
> without this changes.

Here is a small explanation:
'-' in roff is an hyphen, '\-' is a minus sign.
On ISO-8859 terminals, there is no difference.

However, on an UTF-8 terminal, there is a small difference on the display
(hyphen is usually smaller), and this break searches (there is no way to
type an hyphen, so if you want to search the -s option, you have to search
for " .s ") or cut&paste (if you cut&paste an example, then an hyphen is
pasted on the terminal; but option must start by a minus sign, not an
hyphen).

I don't really know when hyphens have to be used, but I think they should
be for caesura (when a word is cut at the end of a line) and probably
when two words are linked (as in coma-separated).

While I think using - instead of \- is a bug, using \- instead of - is IMO
not a bug (because this behave like on old terminals).

BTW, on your CVS, there is a typo on gpasswd.1, line 37: fBnewgrp\fR

-- 
Nekral