tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pgrep -x broken



On 19.01.2018 21:24, Michael van Elst wrote:
> netbsd%precedence.co.uk@localhost (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?

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index