fiddle with docbook input files for moreutils, the round-trip through xsltproc

results in some missing whitespace i.e. "use\n<command>pee cat ...</command>"
ends up as "usepee cat" not "use pee cat".
This commit is contained in:
sthen 2022-06-30 08:58:08 +00:00
parent 5a2faad56e
commit 3d6b2ab2bd
4 changed files with 49 additions and 0 deletions

View File

@ -1,6 +1,7 @@
COMMENT = miscellaneous unix tools
V = 0.65
REVISION = 0
DISTNAME = moreutils_$V.orig
PKGNAME = moreutils-$V
WRKDIST = ${WRKDIR}/moreutils-$V

View File

@ -0,0 +1,15 @@
fix whitespace in xsltproc output
Index: ifdata.docbook
--- ifdata.docbook.orig
+++ ifdata.docbook
@@ -62,8 +62,7 @@ with this program; if not, write to the Free Software
<command>ifdata</command> can be used to check for
the existence of a network interface, or to get
information about the interface, such as its IP
- address. Unlike <command>ifconfig</command> or
- <command>ip</command>, <command>ifdata</command>
+ address. Unlike <command>ifconfig</command> or <command>ip</command>, <command>ifdata</command>
has simple to parse output that is designed to be
easily used by a shell script.
</para>

View File

@ -0,0 +1,15 @@
fix whitespace in xsltproc output
Index: lckdo.docbook
--- lckdo.docbook.orig
+++ lckdo.docbook
@@ -50,8 +50,7 @@ Public domain.
<para><command>lckdo</command> runs a program with a lock
held, in order to prevent multiple processes from running in
- parallel. Use just like <command>nice</command> or
- <command>nohup</command>.</para>
+ parallel. Use just like <command>nice</command> or <command>nohup</command>.</para>
<para>Now that util-linux contains a similar command
named <command>flock</command>, lckdo is deprecated,

View File

@ -0,0 +1,18 @@
fix whitespace in xsltproc output
Index: pee.docbook
--- pee.docbook.orig
+++ pee.docbook
@@ -67,10 +67,8 @@ with this program; if not, write to the Free Software
standard input. The output of all commands is sent to
stdout.</para>
- <para>Note that while this is similar to
- <command>tee</command>, a copy of the input is not sent
- to stdout, like tee does. If that is desired, use
- <command>pee cat ...</command></para>
+ <para>Note that while this is similar to <command>tee</command>, a copy of the input is not sent
+ to stdout, like tee does. If that is desired, use <command>pee cat ...</command></para>
</refsect1>
<refsect1>