From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13358 invoked from network); 10 Jul 2000 09:31:58 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Jul 2000 09:31:58 -0000 Received: (qmail 9274 invoked by alias); 10 Jul 2000 09:31:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12209 Received: (qmail 9267 invoked from network); 10 Jul 2000 09:31:38 -0000 From: "Bart Schaefer" Message-Id: <1000710093103.ZM7132@candle.brasslantern.com> Date: Mon, 10 Jul 2000 09:31:03 +0000 In-Reply-To: <200007100713.JAA18387@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: _killall on linux" (Jul 10, 9:13am) References: <200007100713.JAA18387@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: _killall on linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 10, 9:13am, Sven Wischnowsky wrote: } Subject: Re: _killall on linux } } Bart Schaefer wrote: } } > It's a bit weird that it's "processes-names" rather than "process-names". } > (Was there some reason for that? } } It doesn't have anything to do with real english -- it's just the tag } used with some strings appended, to make it easier to remember them. Aha. } At least I thought it would be easier... It's only easier that way if you know about the rule in advance (and if it is applied consistently, which it may very well be, I haven't looked). Is it mentioned as a general principle anywhere in the docs? } > [*] Rather than $( [[ "$UID" = 0 ]] && print -n xa ) I'd suggest the less } > resource-intensive ${=EUID//(#s)0(#e)/ps xa}. } } I wouldn't be agains that patch. But I think it raises the question if } we should add other default for some systems, such as -u$USER. As it turns out, the _call to ps is already in a linux-specific section of _killall, so the syntax for other variants of ps is irrelevant. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net