Tim Waugh wrote:
> 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?

Since the behavior is as it stands because of Posix requirements, it
appears that I should copy the posix mode section of the texinfo manual
to the man page.  After all, it's not long enough now.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


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

Reply via email to