Subject: Re: Killing processes by name (svr4 lameness)
To: None <>
From: John Kohl <>
List: current-users
Date: 04/11/1996 18:39:08
>>>>> "JTC" == J T Conklin <> writes:
>>>>> "MRG" == <> writes:

MRG> [ warning:  following data may cause violent vomitting ]
MRG> oh, and /bin/kill on solaris:
MRG> svr4islame ~# cat /bin/kill
MRG> /bin/sh -c "kill $*"

JTC> This is not surprising to me, as kill is a perfectly good shell
JTC> builtin.  Very rarely will /bin/kill be executed itself.  POSIX.2
JTC> actually recommends using a shell script similar to the above for
JTC> a handful of utilities that are both builtins and must live as
JTC> "real" programs.

However, that script seems excessively inefficient to me.  It gets
passed to /bin/sh to interpret, which then runs as a subprocess
	/bin/sh -c "kill $*"
I suppose we should file a bug with sun suggesting this instead:

	kill "$@"