From bb95cc4cfc1986db009af56fdd13fe56bd15dc87 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 22 Jan 2021 10:01:28 +0000 Subject: Doc typo fixes (thanks mumahendras) --- doc/trap.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/trap.html') 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 SIGTERM directive, will kill the trap process (and leave prog running). With the -x option, without a SIGTERM directive, a SIGTERM -will be still be caught by trap, that will send it to +will still be caught by trap, that will send it to prog. Note that if a default directive is present, this option does nothing. @@ -89,7 +89,7 @@ can be the case in default directives, they can for instance use multisubstitute { importas ! ! importas SIGNAL SIGNAL } to get both $! and $SIGNAL substitutions.
  • The -x option is basically a shortcut for a default { -multisusbstitute { importas ! ! importas SIGNAL SIGNAL } kill -$SIGNAL $! } directive.
  • +multisubstitute { importas ! ! importas SIGNAL SIGNAL } kill -$SIGNAL $! }
    directive.
  • trap 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 -- cgit v1.2.3