[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkill
From: |
Alfred M\. Szmidt |
Subject: |
Re: pkill |
Date: |
Thu, 29 Sep 2005 21:57:35 +0200 |
Most people use the builtin kill command of the shell, so you'll
have to change Bash as well as coreutils.
I wish that bash would remove all those builtins, or only use them if
a such a builtin doesn't exist on the system.
If the program's name is actually a number, the syntax would be
ambiguous. Presumably you could have a --match-name option for
these rare, ambiguous cases.
One could easily get around that by doing `kill SIG -- NAME' or
something.
From a coreutils point of view, there'd be a lot of code to add,
since you need the functionality of "ps", which is not in coreutils
now.
Yeah, I looked at ps, and adding pgrep functionality there is easier.
But then my mind started thinking that it would be nice to support
proper regexpes, and I just hate C regexp support...
- pkill, Alfred M\. Szmidt, 2005/09/29
- Re: pkill, Alfred M\. Szmidt, 2005/09/29
- Re: pkill, Paul Eggert, 2005/09/29
- Re: pkill,
Alfred M\. Szmidt <=