aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-04 15:29:16 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-08 12:32:02 +0100
commitd97e0f8c27e2a8f95a57bdc88455fa84ecf3d3ea (patch)
tree62070b1cebbc34ccb877e65c3a227f7423955465 /tools-reference
parentdevbook-guide: Rename <impo> and <warn>. (diff)
downloaddevmanual-d97e0f8c27e2a8f95a57bdc88455fa84ecf3d3ea.tar.gz
devmanual-d97e0f8c27e2a8f95a57bdc88455fa84ecf3d3ea.tar.bz2
devmanual-d97e0f8c27e2a8f95a57bdc88455fa84ecf3d3ea.zip
Fix <body> elements.
No sectioning elements are allowed inside <body>, according to the devbook guide. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'tools-reference')
-rw-r--r--tools-reference/bash/text.xml9
-rw-r--r--tools-reference/cat/text.xml3
-rw-r--r--tools-reference/echo/text.xml3
-rw-r--r--tools-reference/head-and-tail/text.xml2
-rw-r--r--tools-reference/sed/text.xml6
5 files changed, 6 insertions, 17 deletions
diff --git a/tools-reference/bash/text.xml b/tools-reference/bash/text.xml
index 8071ce0..3c4f58d 100644
--- a/tools-reference/bash/text.xml
+++ b/tools-reference/bash/text.xml
@@ -8,10 +8,10 @@
A thorough understanding of <c>bash</c> programming is vital when working with
ebuilds.
</p>
+</body>
<section>
<title>Bash Conditionals</title>
-<body>
<subsection>
<title>Basic Selection</title>
@@ -616,8 +616,6 @@ These should be avoided in favour of <c>[[ ]]</c> and the above operators.
</body>
</subsection>
-
-</body>
</section>
<section>
@@ -687,6 +685,7 @@ manipulate or return information based upon variables. These can be used instead
of expensive (or illegal, if we're in global scope) external calls to <c>sed</c>
and friends.
</p>
+</body>
<subsection>
<title><c>bash</c> String Length</title>
@@ -1038,10 +1037,6 @@ There is no <c>**=</c> assignment operator.
</body>
</subsection>
-
-</body>
</section>
-
-</body>
</chapter>
</guide>
diff --git a/tools-reference/cat/text.xml b/tools-reference/cat/text.xml
index f2f38b7..51501ac 100644
--- a/tools-reference/cat/text.xml
+++ b/tools-reference/cat/text.xml
@@ -8,6 +8,7 @@
The <c>cat</c> command can be used to concatenate the contents of two or more
files. The usage is <c>cat firstfile secondfile ...</c>.
</p>
+</body>
<section>
<title>Abuse of <c>cat</c></title>
@@ -80,7 +81,5 @@ desired effect.
</p>
</body>
</section>
-
-</body>
</chapter>
</guide>
diff --git a/tools-reference/echo/text.xml b/tools-reference/echo/text.xml
index b6da93a..ce7ec43 100644
--- a/tools-reference/echo/text.xml
+++ b/tools-reference/echo/text.xml
@@ -9,6 +9,7 @@ The <c>echo</c> command can be used to print strings. The standard
usage is <c>echo firstString secondString ...</c>. Also, it provides
additional parameters for formatting of the output.
</p>
+</body>
<section>
<title>Abuse of <c>echo</c></title>
@@ -90,7 +91,5 @@ command are available in the bash man page.
</body>
</section>
-
-</body>
</chapter>
</guide>
diff --git a/tools-reference/head-and-tail/text.xml b/tools-reference/head-and-tail/text.xml
index 8e9db88..07ebd28 100644
--- a/tools-reference/head-and-tail/text.xml
+++ b/tools-reference/head-and-tail/text.xml
@@ -45,6 +45,7 @@ For full details, see <uri link="http://www.opengroup.org/onlinepubs/000095399/u
IEEE1003.1-2004-tail</uri>. Note that tail-1 on GNU systems describes
many non-portable options.
</p>
+</body>
<section>
<title>Chaining with <c>head</c> or <c>tail</c> with <c>sed</c></title>
@@ -97,6 +98,5 @@ sed -n -e '123p'
</body>
</section>
-</body>
</chapter>
</guide>
diff --git a/tools-reference/sed/text.xml b/tools-reference/sed/text.xml
index 3f7a455..61a216d 100644
--- a/tools-reference/sed/text.xml
+++ b/tools-reference/sed/text.xml
@@ -67,6 +67,7 @@ always the case,
which is why some packages, particularly those which use <c>sed -i</c>, have
<c>DEPEND</c> s upon <c>>=sys-apps/sed-4</c>.
</p>
+</body>
<section>
<title>Basic <c>sed</c> Invocation</title>
@@ -415,7 +416,6 @@ the file, for example, causing your sed script to break.
<section>
<title>Regular Expression Atoms in <c>sed</c></title>
-<body>
<subsection>
<title>Basic Atoms</title>
@@ -772,8 +772,6 @@ Read the source, it's the only place these're documented properly...
</body>
</subsection>
-
-</body>
</section>
<section>
@@ -899,7 +897,5 @@ symbols.
</body>
</section>
-
-</body>
</chapter>
</guide>