Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] killall completion for FreeBSD
- X-seq: zsh-workers 20182
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Jean-Baptiste Quenot <jb.quenot@xxxxxxxxxxx>
- Subject: Re: [PATCH] killall completion for FreeBSD
- Date: Fri, 23 Jul 2004 18:16:50 +0200
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20040723150742.GB97816@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040721211529.GA2406@xxxxxxxxxxxxxxxxxxxxxx> <25025.1090591714@xxxxxxxxxxxxxxxxxxxxx> <20040723150742.GB97816@xxxxxxxxxxxxxxxxx>
Jean-Baptiste Quenot wrote:
> Apparently, the « command » option is also supported on GNU/Linux's ps.
Yes, I'm using Linux here so I checked that. That said, I think there
is more than one fork of procps. I've checked both Debian and SuSE (and
judging by the version numbers of 3.2.1-2 and 2003.9.20-6, they have
different ps commands).
> Note that if the _killall script is run by root, the arguments « ax »
> and « ho » must stick together for optimal interoperability, this is
> compatible with all systems I tried.
You'll notice that I kept that change in my patch. I saw that you'd
done that in yours and it didn't do any harm on Linux so I kept that
part of your change.
I just had a look at _killall's history. Seems the change to cut out
command names was in 13312 and that not using `ps ho comm' was
intentional. With regard to 13314, I think it should just be removing a
leading hyphen.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author