]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Hyphens and Other Manpage Typography, 4/4: literal ASCII hyphens.
authorPeter Samuelson <peter@p12n.org>
Tue, 8 May 2007 07:13:44 +0000 (17:13 +1000)
committerNeil Brown <neilb@suse.de>
Tue, 8 May 2007 07:13:44 +0000 (17:13 +1000)
commit7e23fc43c315414254ae6f03ca6ae19d2144caf1
treeabd029a1188270081a0c2aa560271b0e05ab11fb
parent53e8b987bd40a52912b84d96b347e1de0d27790f
Hyphens and Other Manpage Typography, 4/4: literal ASCII hyphens.

From: Peter Samuelson <peter@p12n.org>

nroff formats "-" as the very short hyphen used for hyphenated terms
and for splitting a word across two lines.  When you want a literal
ASCII "-", like for typing on a command line, you're supposed to use
"\-" instead.

Yeah, it sounds pedantic, but it actually makes a difference.  With
modern Unicode-capable terminals, "man" actually renders these with
different characters, so if you try to search for "--create" in your
favorite pager, you won't find it unless the nroff source says
"\-\-create".  This discrepancy doesn't generally show up with
non-Unicode terminals.

Signed-Off-By: Peter Samuelson <peter@p12n.org>
mdadm.8
mdadm.conf.5
mdassemble.8