From: Jason Price <jprice@cyberbuzz.gatech.edu>
To: Zsh <zsh-workers@sunsite.dk>
Subject: Re: Can Zsh do this for me?
Date: Tue, 2 Sep 2003 09:30:22 -0400 [thread overview]
Message-ID: <20030902093022.A3001@redfish.gatech.edu> (raw)
In-Reply-To: <20030902120846.GA1636@DervishD>; from raul@pleyades.net on Tue, Sep 02, 2003 at 02:08:46PM +0200
> BTW, I want to write a 'ps' command on my own because I don't
> like the procps one available for Linux, nor the others out there,
> and I think that with the zsh/stat module I could do it in a shell
> script :)))
Under solaris and debian linux, there's something called pkill(1) that will
take a name, and kill it.
BTW: if you're re-writing linux PS as a shell script to learn a lot of
linux and zsh internals, go right ahead. If you're just annoyed by how it
works, take a long look through the man page. It's amazingly powerful and
flexable. It looks like you were using the BSD flavor of args. If you
want SYSVish args, just use a hyphen. I.E.: 'ps -ef'. See the man page for
more details than you probably want.
ps. The only thing that competes with ls for number of options.
Jason
next prev parent reply other threads:[~2003-09-02 13:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-02 12:08 DervishD
2003-09-02 12:25 ` Oliver Kiddle
2003-09-02 19:21 ` DervishD
2003-09-02 12:38 ` Alexey Tourbin
2003-09-02 13:07 ` Peter Stephenson
2003-09-02 19:22 ` DervishD
2003-09-02 13:30 ` Jason Price [this message]
2003-09-02 19:57 ` DervishD
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=20030902093022.A3001@redfish.gatech.edu \
--to=jprice@cyberbuzz.gatech.edu \
--cc=zsh-workers@sunsite.dk \
/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).