[ovs-dev] [patch] ovsdb-server(1): fix escaping

Simon Horman horms at verge.net.au
Thu Aug 19 08:05:40 UTC 2010


1) Fix what appears to be a typo in a way that is
   consistent with the vsdb-client(1) man page.

   I noticed this problem because lintian complained about it
   when I was testing the building of debian packages. I can
   be observed using the following command.

   LANG=en_US.UTF-8 MANWIDTH=80 man --warnings -E UTF-8 -l ./ovsdb/ovsdb-server.1.in > /dev/null

   <standard input>:11: `\-' is not allowed in an escape name
   <standard input>:12: `\-' is not allowed in an escape name

2) Don't escape hyphens in names

   Again, this problem can be observed using
   LANG=en_US.UTF-8 MANWIDTH=80 man --warnings -E UTF-8 -l ./ovsdb/ovsdb-server.1.in > /dev/null

   man: can't open lib/daemon\-syn.man: No such file or directory
   man: -:10: warning: failed .so request
   man: can't open lib/vlog\-syn.man: No such file or directory
   man: -:10: warning: failed .so request
   man: can't open lib/unixctl\-syn.man: No such file or directory
   man: -:10: warning: failed .so request
   man: can't open lib/common\-syn.man: No such file or directory
   man: -:10: warning: failed .so request
   <standard input>:13: a special character is not allowed in a name
   <standard input>:13: can't open `lib/daemon': No such file or directory
   <standard input>:14: a special character is not allowed in a name
   <standard input>:14: can't open `lib/vlog': No such file or directory
   <standard input>:15: a special character is not allowed in a name
   <standard input>:15: can't open `lib/unixctl': No such file or directory
   <standard input>:16: a special character is not allowed in a name
   <standard input>:16: can't open `lib/common': No such file or directory

Signed-off-by: Simon Horman <horms at verge.net.au>

Index: openvswitch/ovsdb/ovsdb-server.1.in
===================================================================
--- openvswitch.orig/ovsdb/ovsdb-server.1.in	2010-08-19 16:47:32.000000000 +0900
+++ openvswitch/ovsdb/ovsdb-server.1.in	2010-08-19 16:50:18.000000000 +0900
@@ -8,12 +8,12 @@ ovsdb\-server \- Open vSwitch database s
 .SH SYNOPSIS
 \fBovsdb\-server\fR
 \fIdatabase\fR
-[\f\-\-remote=\fIremote\fR]\&...
-[\f\-\-run=\fIcommand\fR]
-.so lib/daemon\-syn.man
-.so lib/vlog\-syn.man
-.so lib/unixctl\-syn.man
-.so lib/common\-syn.man
+[\fB\-\-remote=\fIremote\fR]\&...
+[\fB\-\-run=\fIcommand\fR]
+.so lib/daemon-syn.man
+.so lib/vlog-syn.man
+.so lib/unixctl-syn.man
+.so lib/common-syn.man
 .
 .SH DESCRIPTION
 The \fBovsdb\-server\fR program provides RPC interfaces to an Open




More information about the dev mailing list