summaryrefslogtreecommitdiff
path: root/doc/trap.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-01-22 10:01:28 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-01-22 10:01:28 +0000
commitbb95cc4cfc1986db009af56fdd13fe56bd15dc87 (patch)
tree6d1eab8ab5f0588d15e9bce366f5f12b0ab062b0 /doc/trap.html
parent9c4b9e00ab1e603640363180bb2071106fb8d824 (diff)
downloadexecline-bb95cc4cfc1986db009af56fdd13fe56bd15dc87.tar.xz
Doc typo fixes (thanks mumahendras)
Diffstat (limited to 'doc/trap.html')
-rw-r--r--doc/trap.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/trap.html b/doc/trap.html
index fec5501..1a6e9df 100644
--- a/doc/trap.html
+++ b/doc/trap.html
@@ -74,7 +74,7 @@ not forward any signals, and does not ignore them either - for instance a
SIGTERM, unless caught by a <tt>SIGTERM</tt> directive, will kill the
<tt>trap</tt> process (and leave <em>prog</em> running). With the
<tt>-x</tt> option, without a <tt>SIGTERM</tt> directive, a SIGTERM
-will be still be caught by <tt>trap</tt>, that will send it to
+will still be caught by <tt>trap</tt>, that will send it to
<em>prog</em>. Note that if a <tt>default</tt> directive is present,
this option does nothing. </li>
</ul>
@@ -89,7 +89,7 @@ can be the case in <tt>default</tt> directives, they can for instance use
<code><a href="multisubstitute.html">multisubstitute</a> { importas ! ! importas SIGNAL SIGNAL }<code>
to get both <tt>$!</tt> and <tt>$SIGNAL</tt> substitutions. </li>
<li> The <tt>-x</tt> option is basically a shortcut for a <code>default {
-multisusbstitute { importas ! ! importas SIGNAL SIGNAL } kill -$SIGNAL $! }</code> directive. </li>
+multisubstitute { importas ! ! importas SIGNAL SIGNAL } kill -$SIGNAL $! }</code> directive. </li>
<li> <tt>trap</tt> is a standard shell builtin, with similar
functionality. It is more idiomatic, and probably more efficient,
to use that builtin in shell scripts, and to only use the