summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-01-26 10:26:30 -0800
committerBen Pfaff <blp@ovn.org>2017-03-08 13:26:09 -0800
commit3e45560fb03b433c00117ae691027db61d37367d (patch)
treebb3250046f75236195a56edf0b1c78da4af8b8ba /build-aux
parent4b27db644a8c8e8d2640f2913cbdfa7e4b78e788 (diff)
downloadopenvswitch-3e45560fb03b433c00117ae691027db61d37367d.tar.gz
ovs-fields.7: Use a more general approach to groff encodings.
It turns out that, since groff 1.20 around 2009, groff comes with a preprocessor named "preconv" that can fix encoding issues. Use it instead of the existing hack. Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/extract-ofp-fields8
1 files changed, 0 insertions, 8 deletions
diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields
index 498b88773..91cd75612 100755
--- a/build-aux/extract-ofp-fields
+++ b/build-aux/extract-ofp-fields
@@ -752,14 +752,6 @@ ovs\-fields \- protocol header fields in OpenFlow and Open vSwitch
output = []
for oline in s.split("\n"):
oline = oline.strip()
-
- # Life is easier with nroff if we don't try to feed it Unicode.
- # Fortunately, we only use a few characters outside the ASCII range.
- 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]