[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rssh-discuss
Subject:    Minor man page patch
From:       Russ Allbery <rra () stanford ! edu>
Date:       2007-04-21 22:53:40
Message-ID: 87k5w5tk3v.fsf () windlord ! stanford ! edu
[Download RAW message or body]

While this is a little-known corner of the *roff specification, bare
hyphens (-) in *roff source are hyphens, not dashes.  This is becoming
more of an issue with current systems that default to UTF-8 (which can
distinguish between the two) instead of ASCII (which couldn't), although
one could always see the difference in troff output.  Hyphens are used for
word breaks; option switches should be represented by the ASCII
hyphen-minus instead, which is \- in *roff.

Usually this matters because it affects searching within the man page.  In
the case of rssh, it's just a minor nit that was uncovered by Debian's
package checking software.

Here's a patch:

Index: rssh/rssh.1
===================================================================
--- rssh.orig/rssh.1	2007-04-11 19:05:12.000000000 -0700
+++ rssh/rssh.1	2007-04-11 19:06:14.000000000 -0700
@@ -193,9 +193,9 @@ If you run into a problem where
 .B rssh
 refuses to run, claiming to be rejecting insecure command line options which
 were not specified, try changing your command line such that all \fIshort\fP
-options are specified as single-letter option flags (e.g. -e -p instead of
--ep) and make sure you separate arguments from their respective options by a
-space (e.g. -p 123 instead of -p123).  In virtually all cases, this should
+options are specified as single-letter option flags (e.g. \-e \-p instead of
+\-ep) and make sure you separate arguments from their respective options by a
+space (e.g. \-p 123 instead of \-p123).  In virtually all cases, this should
 solve the problem.  Admittedly, an exhaustive search was not performed, but no
 problematical cases were found which were likely to be common.
 .P

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic