On Sat, Jan 20, 2018 at 01:33:32AM +0100, Kamil Rytarowski wrote:
> On 19.01.2018 21:24, Michael van Elst wrote:
> > net...@precedence.co.uk (Stephen Borrill) writes:
> > 
> >> 1) Revert above and always use p_comm (and note in man page)
> >> 2) Use p_comm only if -x flag given:
> >> 3) Chop off at last /:
> > 
> >> I favour 1), any dissent before I commit?
> > 
> > Since pgrep -f matches also arguments, the default should probably be
> > to use argv[0], except for -x where you want p_comm.
> > 
> 
> While there, is it worth to add an alias for "pkill -x": killall?

killall is ambigous, it used to be a shutdown operation and should better
be avoided.


Greetings,
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to