Subject: Re: Killing processes by name (svr4 lameness)
To: None <current-users@NetBSD.ORG>
From: Robert Evans <r.evans@ic.ac.uk>
List: current-users
Date: 04/12/1996 11:17:05
On Thu, 11 Apr 1996, John Kohl wrote:
> 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:
> 
> 	#!/bin/sh
> 	kill "$@"

This is starting to stray from NetBSD fodder, but under Solaris 2.5 the 
script is actually thus:

#!/bin/ksh
#
#ident  "@(#)alias.sh   1.1     95/02/06 SMI"
#
# Copyright (c) 1995 by Sun Microsystems, Inc.
#
cmd=`basename $0`
$cmd "$@"

(Which has 17 hard links to the names of other builtins.)

No need for the bug report.  :-)

Cheers,
Robert

PS:  Apologies for posting copyrighted material, hopefully Sun won't get 
too mad at this minor infraction!