sh -c 'kill -SIGTERM $$' -> 'invalid signal specification'
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. */ pgpexjSjmJtW4.pgp Description: PGP signature ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
Re: sh -c 'kill -SIGTERM $$' -> 'invalid signal specification'
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
Re: sh -c 'kill -SIGTERM $$' -> 'invalid signal specification'
On Fri, Mar 18, 2005 at 10:33:29AM -0500, Chet Ramey wrote: > 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. Oops! I'll have to remember to look there as well as the FAQ before posting. Sorry! Tim. */ pgpZED7uqZFPs.pgp Description: PGP signature ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
Waist Magnetic Trimmer
Sky Products Factory Product name: Waist Magnetic Trimmer QTY:1000PCS The materials : Neoprene and Magnetic US3.00/PC (with shipping cost) http://hk.page.auctions.yahoo.com/hk/auction/1109185390?aucview=user Thanks, Janet ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash