From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@math.gatech.edu
Subject: Re: kill and pid files
Date: 22 Jun 1997 04:06:36 GMT [thread overview]
Message-ID: <slrn5qp96c.876.mason@coral.primenet.com.au> (raw)
In-Reply-To: <199706211846.OAA01626@hzoli.home>
On 22 Jun 1997 04:49:10 +1000, Zoltan Hidvegi <hzoli@ny.frontiercomm.net> wrote:
:> > pid () {
:> > setopt localoptions extendedglob
:> > local i
:> > for i
:> > do
:> > echo "${(M)${(M)${(f)$(ps acx)}:%* $i #}## #<->}"
:> > done
:> > }
:> Yes but what if there are TWO processes running with the name 'foo'?
And what if they're shell scripts? And what if this has nothing to do with
zsh.workers and should at most be in zsh.users?
--
Geoff Wing [mason@primenet.com.au] Technical Manager
Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy
Facsimile: +61-3-9819 3788 Web : <URL:http://www.primenet.com.au/>
Mobile : 0412 162 441
prev parent reply other threads:[~1997-06-22 4:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199706211508.LAA08120@kira.peak.org>
1997-06-21 16:37 ` Zoltan Hidvegi
1997-06-21 18:39 ` Timothy Luoma
1997-06-21 18:46 ` Zoltan Hidvegi
1997-06-22 4:06 ` Geoff Wing [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrn5qp96c.876.mason@coral.primenet.com.au \
--to=mason@primenet.com.au \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).