With bash-3.0.14, this command:

sh -c 'kill -SIGTERM $$'

gives this error:

sh: line 0: kill: SIGTERM: invalid signal specification

The man page for bash says that 'sigspec is either a case-insensitive
signal name such as SIGKILL (with or without the SIG prefix)'.

Should the documentation be corrected to mention that, if invoked as
sh, the shell will not recognise the SIG prefix for the kill builtin?

Tim.
*/

Attachment: pgpexjSjmJtW4.pgp
Description: PGP signature

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to