From owner-cvs-all Tue Sep 1 09:19:18 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04328 for cvs-all-outgoing; Tue, 1 Sep 1998 09:19:18 -0700 (PDT) (envelope-from owner-cvs-all) Received: from word.smith.net.au (castles243.castles.com [208.214.165.243]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04320; Tue, 1 Sep 1998 09:19:10 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id JAA04201; Tue, 1 Sep 1998 09:15:53 GMT (envelope-from mike@word.smith.net.au) Message-Id: <199809010915.JAA04201@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Wolfram Schneider cc: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= , Wolfram Schneider , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/killall killall.pl In-reply-to: Your message of "Tue, 01 Sep 1998 13:00:32 +0200." <19980901130032.A1685@panke.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 01 Sep 1998 09:15:52 +0000 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id JAB04321 Sender: owner-cvs-all@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > On 1998-09-01 12:49:22 +0200, Dag-Erling Coidan Smørgrav wrote: > > Wolfram Schneider writes: > > > Log: > > > PR: bin/5596 > > > > > > Change the diagnostic if there were no matching processes owned by > > > you. > > > > Hmm, IMHO the old diagnostic was good enough. > > It was a minor change. For example > > old: > $ /usr/bin/killall getty > No matching processes ``getty'' > > new: > $ perl ./killall.pl getty > No matching processes ``getty'' belonging to you It's incorrect if you're root, and still grammatically incorrect. Functionality should also move to 'kill', where the pattern should be a legitimate alternative to a PID. # kill -TERM init Cannot send signal to 'init': permission denied. # kill -TERM foo Cannot send signal to 'foo': no such process. (You might omit this one:) # kill -v -HUP httpd Could not send signal to some processes matching 'httpd': permission denied. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com