---------- Forwarded message ----------
From: Craig Small <csm...@enc.com.au>
Date: Wed, Dec 2, 2009 at 5:14 AM
Subject: Re: Bug#558044: pkill, pgrep: don't use "-v" for negation;
it's dangerous & some think -v means verbose
To: "Jason A. Spiro" <jasonspi...@gmail.com>


On Wed, Dec 02, 2009 at 04:09:30AM -0500, Jason A. Spiro wrote:
> When?  What were the complaints?  :)
It was quite a few a years ago and it was basically "we want it the
other way"

> But Craig, aren't you the upstream maintainer of procps?
No. Albert is. I'm the Debian procps maintainer. I can only generate
Debian-specific diffs, so thats why changing the flags is a bad idea.
I'm also the psmisc (eg killall) maintainer.

> Good idea.  I have researched your idea.  From the first forty or so
> Google search results for [ "pkill -v" ], it looks like nobody in
> those search results uses "pkill -v some_process_name" except by
> accident.  They only use -v purposefully when they use it with -u, as
> in "pkill -v -u root" or "pkill -v -u 0,1" or "pkill -v -u
> root,daemon,nobody,gdm".  Maybe if you want to use -v without -u, you
> should need to pass the long option --invert-match instead of the
> short option -v.  What do you think?
Something like that would be better.  Not changing the flag but
disabling it for somewhat obvious errors; and then having another flag,
a long option, that means yes really do it.


 - Craig
--
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free



-- 
Jason Spiro: software/web developer, packager, trainer, IT consultant.
I support Linux, UNIX, Windows, and more. Contact me to discuss your needs.
+1 (416) 992-3445 / www.jspiro.com



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to