summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-06-07 05:01:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-06-07 05:01:45 +0000
commit5eab619c9c36e57d9c7955ed80db91e83bb320b5 (patch)
tree8ddfba9b026e2fab9844e9e994d7eda5a6c3ca9c /doc
parent1a994deaf876b417063217c2ba793470449eed20 (diff)
downloads6-5eab619c9c36e57d9c7955ed80db91e83bb320b5.tar.xz
Doc fixes and clarifications
Diffstat (limited to 'doc')
-rw-r--r--doc/s6-sudod.html13
-rw-r--r--doc/s6-tai64nlocal.html2
2 files changed, 13 insertions, 2 deletions
diff --git a/doc/s6-sudod.html b/doc/s6-sudod.html
index 53ec2f7..255d946 100644
--- a/doc/s6-sudod.html
+++ b/doc/s6-sudod.html
@@ -53,9 +53,20 @@ for every variable sent by <a href="s6-sudoc.html">s6-sudoc</a>, if the
variable is <strong>present but empty</strong> in s6-sudod's environment, then
its value is overriden by the value given by s6-sudoc. A variable that is
already nonempty, or that doesn't exist, in s6-sudod's environment, will not
-be transmitted to the child.
+be transmitted to the child. In other words:
</p>
+<ul>
+ <li> If there's no variable <tt>X</tt> in s6-sudod's environment, the child
+will have no variable <tt>X</tt> defined </li>
+ <li> If there's a non-empty variable <tt>X</tt> in s6-sudod's environment,
+the child will inherit that variable, with its value, from s6-sudod </li>
+ <li> If there's an empty variable <tt>X</tt> in s6-sudod's environment,
+and s6-sudoc transmits variable <tt>X</tt>, then the child will inherit that
+variable with the value from s6-sudoc. (If s6-sudoc does not transmit <tt>X</tt>,
+the variable will be present, but empty, in the child's environment.) </li>
+</ul>
+
<h2> Options </h2>
<ul>
diff --git a/doc/s6-tai64nlocal.html b/doc/s6-tai64nlocal.html
index 2df3f86..8bfa041 100644
--- a/doc/s6-tai64nlocal.html
+++ b/doc/s6-tai64nlocal.html
@@ -34,7 +34,7 @@ time.
<ul>
<li> s6-tai64nlocal exits 0 when it sees the end of stdin. If there's an
-unfinished line, s6-tai64n processes it
+unfinished line, s6-tai64nlocal processes it
and writes it before exiting. </li>
</ul>