On 06/11/11 16:44, Ingo Schwarze wrote:
Hi,

Jonathan Perkin wrote on Tue, May 17, 2011 at 11:02:05PM +0100:

Add -i to ignore case when matching process name
It seems nobody picked this up, so i had a look at it.

NetBSD has that since March 2005 (committed by sketch@).
FreeBSD copied it from NetBSD a few days later.
procps.cvs.sourceforge.net (used e.g. in Debian) does not have -i.
OpenSolaris does not have -i.

So I'd say we shouldn't add it.

It is not terribly useful; hopefully, you at least know
how the processes you are searching for are called.
Even if not, you can use  ps ax | grep -i  to find out,
then use the exact name you found for pkill.
Personally, i never felt a need for pkill -i,
although i'm using pkill a lot.
It is not universal, so it is likely to degrade interoperability.

Yours,
   Ingo

Hmmm.  Two of (arguably) the four best known BSD distributions have it.
The idea of -i meaning case insensitivity is there already in other (1)
commands, so I'd say it makes sense to add.

From a practical standpoint, I'm all for it.  I've missed killing things
because of this.

--STeve Andre'

Reply via email to