Subject: Re: Killing processes by name (svr4 lameness)
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 04/13/1996 12:21:09
[ On Fri, April 12, 1996 at 10:09:24 (-0400), der Mouse wrote: ]
> Subject: Re: Killing processes by name (svr4 lameness)
> > #!/bin/sh
> > kill "$@"
> In general, shouldn't that be
> case $# in
> 0) kill ;;
> *) kill "$@" ;;
Or more elegantly as the one line expression:
> Or have we (er, has Sun) finally fixed that, so that "$@"
> goes away entirely instead of turning into "" when $# is zero? (In the
> case of kill, the difference may not matter, of course. :-)
I've been told it has been fixed, but I haven't tested it, and I
wouldn't depend on the fix regardless.
Greg A. Woods
+1 416 443-1734 VE3TCP robohack!woods
Planix, Inc. <email@example.com>; Secrets Of The Weird <firstname.lastname@example.org>