tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pgrep -x broken
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.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index