Skip to contentSkip to conversation

More manual-page fixups.

PATCH Eric S. Raymond 1 participant 1 message Jun 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

John Linville asked me to ship the ethtool.8 patch to this list. That's the first 0001 patch in the enclosures and should be applied to the ethtool repo.

The others are more syntax fixups for the iproute2 repo. Some are things like list syntax errors that you don't notice when rendering via groff because it has no error checking. Some others unroll the pseudo-BNF used in some synopses to the standard form described by DocBook synopsis markup.

There's more work to be done on this. Expect more patches, now that I know where to send them.

Signature · 4 lines
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.
Quoted 1 line

From 9496a4d44cbc569e15bf656e30bfd2fc0dfc64ce Mon Sep 17 00:00:00 2001

From: "Eric S. Raymond" <[email protected]>
Date: Wed, 13 Jun 2018 17:16:21 -0400
Subject: [PATCH] In ethtool.8, remove superfluous and incorrect \c.

---
 ethtool.8.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ethtool.8.in +1 -1
index 04c53c9..57b2893 100644
@@ -684,7 +684,7 @@ Disable (wake on nothing).  This option clears all previous options.
 T}
 .TE
 .TP
-.B sopass \*(MA\c
+.B sopass \*(MA
 Sets the SecureOn\[tm] password.  The argument to this option must be 6
 bytes in Ethernet MAC hex format (\*(MA).
 .PP
Signature · 1 line
2.17.1
Quoted 1 line

From 15472b7be6c619e5eb35037da70b35d066544838 Mon Sep 17 00:00:00 2001

From: "Eric S. Raymond" <[email protected]>
Date: Tue, 12 Jun 2018 22:32:24 -0400
Subject: [PATCH 1/5] Clean up markup in tc-bpf.8

This page had multiple issues:

1. .in +4/.nf....fi/.in was used where .EX/.EE was called for.

2. .SS and running text shouldn't have been used in Synopsis section. Inline text has been moved to PARAMETERS.

3. Under PATAMETERS, adjacent .SS tags could not be lifted to XML. .TP is now used in that section instead.

---
 man/man8/tc-bpf.8 | 239 +++++++++++++++++++++++-----------------------
 1 file changed, 117 insertions(+), 122 deletions(-)
man/man8/tc-bpf.8 +117 -122

556 lines not on this page · raw message

Signature · 1 line
2.17.1
Quoted 1 line

From 69842ef64825014c9c7f6054783d5af172f7879d Mon Sep 17 00:00:00 2001

From: "Eric S. Raymond" <[email protected]>
Date: Tue, 12 Jun 2018 22:58:39 -0400
Subject: [PATCH 2/5] In tcp-nat.8, change command synopsis to a form that can
be parsed.

(This means getting rid of the pseudo-BNF := notation.)

Also, correct a misspelling.

---
 man/man8/tc-nat.8 | 45 ++++++++++++++++++++-------------------------
 1 file changed, 20 insertions(+), 25 deletions(-)
man/man8/tc-nat.8 +20 -25

80 lines not on this page · raw message

Signature · 1 line
2.17.1
Quoted 1 line

From 4d787557880a25967da7dfdb070eea8c6cf9c635 Mon Sep 17 00:00:00 2001

From: "Eric S. Raymond" <[email protected]>
Date: Wed, 13 Jun 2018 00:08:55 -0400
Subject: [PATCH 3/5] In tc-pie.8, fix up list and example syntax.

---
 man/man8/tc-pie.8 | 56 ++++++++++++++++++++++++++++-------------------
 1 file changed, 33 insertions(+), 23 deletions(-)
man/man8/tc-pie.8 +33 -23

104 lines not on this page · raw message

Signature · 1 line
2.17.1
Quoted 1 line

From 053a817b72cb942d47bb3fbb45385e04d8b6f378 Mon Sep 17 00:00:00 2001

From: "Eric S. Raymond" <[email protected]>
Date: Wed, 13 Jun 2018 09:49:12 -0400
Subject: [PATCH 4/5] Fix list syntax errors in tc-pedit.8.

---
 man/man8/tc-pedit.8 | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
man/man8/tc-pedit.8 +7 -6
index bbd725c4..53d07fec 100644
@@ -224,17 +224,17 @@ The supported keywords for
 .I IP6HDR_FIELD
 are:
 .RS
-.TP
+.IP ""
 .B src
-.TQ
+.IP ""
 .B dst
-.TQ
+.IP ""
 .B flow_lbl
-.TQ
+.IP ""
 .B payload_len
-.TQ
+.IP ""
 .B nexthdr
-.TQ
+.IP ""
 .B hoplimit
 .RE
 .TP
@@ -250,6 +250,7 @@ are:
 Source or destination TCP port number, a 16-bit value.
 .TP
 .B flags
+(To be documented)
 .RE
 .TP
 .BI udp " UDPHDR_FIELD"
Signature · 1 line
2.17.1
Quoted 1 line

From 643db903b3f6cd90dce5cc90daafcd6830e83a8a Mon Sep 17 00:00:00 2001

From: "Eric S. Raymond" <[email protected]>
Date: Wed, 13 Jun 2018 12:45:24 -0400
Subject: [PATCH 5/5] In devlink.8, translate unparseable callout syntax to
parseable form.

---
 man/man8/devlink.8 | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
man/man8/devlink.8 +1 -13
index 7986310f..efc6e625 100644
@@ -7,7 +7,7 @@ devlink \- Devlink tool
 .in +8
 .ti -8
 .B devlink
-.RI "[ " OPTIONS " ] " OBJECT " { " COMMAND " | "
+.RI "[ " OPTIONS " ] { " dev | port | monitor | sb | resource " } { " COMMAND " | "
 .BR help " }"
 .sp
 
@@ -17,18 +17,6 @@ devlink \- Devlink tool
 .BI "-batch " filename
 .sp
 
-.ti -8
-.IR OBJECT " := { "
-.BR dev " | " port " | " monitor " | " sb " | " resource " }"
-.sp
-
-.ti -8
-.IR OPTIONS " := { "
-\fB\-V\fR[\fIersion\fR] |
-\fB\-n\fR[\fIno-nice-names\fR] }
-\fB\-j\fR[\fIjson\fR] }
-\fB\-p\fR[\fIpretty\fR] }
-
 .SH OPTIONS
 
 .TP
Signature · 1 line
2.17.1