Subject: Re: Killing processes by name
To: Arne H. Juul <arnej@pvv.unit.no>
From: Greg A. Woods <woods@kuma.web.net>
List: current-users
Date: 04/12/1996 08:39:55
[ On Thu, April 11, 1996 at 18:55:02 (+0200), Arne H. Juul wrote: ]
> Subject: Re: Killing processes by name
>
> #!/bin/sh
> kill "$@"
>
> would have been a lot better...
And just to be pedantic, this would be even better (and more portable,
but I'm sure solaris users don't care about the latter!)
#! /bin/sh
kill ${1+"$@"}
--
Greg A. Woods
+1 416 443-1734 VE3TCP robohack!woods
Planix, Inc. <woods@planix.com>; Secrets Of The Weird <woods@weird.com>