[ovs-dev] [PATCH] ovs-fields: Eliminate non-ASCII characters from groff input.

Ben Pfaff blp at ovn.org
Thu Jan 26 01:07:51 UTC 2017


It's difficult to make groff portably accept non-ASCII characters.  It's
easier to replace them by groff escapes for the same characters, which
this commit does.

Fixes: 96fee5e0a2a0 ("ovs-fields: New manpage to document Open vSwitch and OpenFlow fields.")
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 build-aux/extract-ofp-fields | 2 ++
 lib/meta-flow.xml            | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields
index bc15a8b..4c92246 100755
--- a/build-aux/extract-ofp-fields
+++ b/build-aux/extract-ofp-fields
@@ -752,6 +752,8 @@ ovs\-fields \- protocol header fields in OpenFlow and Open vSwitch
         oline = oline.replace(u'\u2208', r'\[mo]')
         oline = oline.replace(u'\u2260', r'\[!=]')
         oline = oline.replace(u'\u2264', r'\[<=]')
+        oline = oline.replace(u'\u2265', r'\[>=]')
+        oline = oline.replace(u'\u00d7', r'\[mu]')
         if len(oline):
             output += [oline]
 
diff --git a/lib/meta-flow.xml b/lib/meta-flow.xml
index 186a8db..3db0f82 100644
--- a/lib/meta-flow.xml
+++ b/lib/meta-flow.xml
@@ -3102,8 +3102,7 @@ actions=clone(load:0->NXM_OF_IN_PORT[],output:123)
 
         <dt><code>vlan_tci=0x5000/0xe000</code></dt>
         <dd>
-          Match packets with no 802.1Q header or tagged with prior‐
-          ity 2 (in any VLAN).
+          Match packets with no 802.1Q header or tagged with priority 2 (in any VLAN).
         </dd>
 
         <dt><code>vlan_tci=0/0xefff</code></dt>
-- 
2.10.2



More information about the dev mailing list