#323300 bash: \kill not invoke /bin/kill

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
LI Daobing
Date:
2010-11-05 08:16:38 UTC
Severity:
normal
#323300#5
Date:
2005-08-15 23:07:40 UTC
From:
To:
Hello

\kill can not invoke /bin/kill while \time invoke /usr/bin/time

$ kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
$ \kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
$ /bin/kill
Usage:
  kill pid ...              Send SIGTERM to every process listed.
  kill signal pid ...       Send a signal to every process listed.
  kill -s signal pid ...    Send a signal to every process listed.
  kill -l                   List all signal names.
  kill -L                   List all signal names in a nice table.
  kill -l signal            Convert between signal numbers and names.
$ time

real    0m0.000s
user    0m0.000s
sys     0m0.000s
$ \time
Usage: time [-apvV] [-f format] [-o file] [--append] [--verbose]
       [--portability] [--format=format] [--output=file] [--version]
       [--quiet] [--help] command [arg...]
$ /usr/bin/time
Usage: /usr/bin/time [-apvV] [-f format] [-o file] [--append] [--verbose]
       [--portability] [--format=format] [--output=file] [--version]
       [--quiet] [--help] command [arg...]

#323300#10
Date:
2005-09-10 11:00:46 UTC
From:
To:
You write:

time is flagged as a shell keyword, kill as a shell builtin.
Please use "command time" or "command kill" if you want to call the
command. Not sure, if that is a bug at all.

#323300#15
Date:
2005-09-10 16:11:30 UTC
From:
To:
Matthias Klose wrote:

Matthias is correct about `time' being a reserved word, so there's no
bug here.  However, since `command' only inhibits shell function
lookup, `command kill' will still invoke the builtin.  If you want
to invoke the executable `kill', you'll need to use its full pathname.

Chet