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

2005-09-10 Thread Chet Ramey
Matthias Klose wrote:
> You write:
> 
>>\kill can not invoke /bin/kill while \time invoke /usr/bin/time
> 
> 
> 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.

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
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-09-10 Thread Matthias Klose
You write:
> \kill can not invoke /bin/kill while \time invoke /usr/bin/time

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.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-08-15 Thread LI Daobing
Package: bash
Version: 3.0-15
Severity: normal

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 signalConvert between signal numbers and names.
$ time

real0m0.000s
user0m0.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...]

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages bash depends on:
ii  base-files 3.1.6 Debian base system miscellaneous f
ii  libc6  2.3.5-3   GNU C Library: Shared libraries an
ii  libncurses55.4-8 Shared libraries for terminal hand
ii  passwd 1:4.0.3-30.10 change and administer password and

bash recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]