From: Tom Martin <slarti@gentoo.org>
To: zsh-users@sunsite.dk
Subject: Globbing/parameter expansion question
Date: Mon, 25 Apr 2005 09:47:57 +0100 [thread overview]
Message-ID: <20050425084757.GA9617@pohl.lj.net> (raw)
Hello,
I've found a mail indexing and searching program which I really like. It
just has one disadvantage: the command line interface is stupid.
For example:
nmzmail -i -m inbox
will index the inbox maildir, but then to index multiple mailboxes, it
accepts:
nmzmail -i -m inbox -m sent-mail -m list-zsh-users
So, it's not possible to simply glob for the mailboxes you want because
it needs to have another explicit -m before the next mailbox.
Although a for loop is the obvious solution, I want to avoid using one
because I want to get a full summary of all the mail being indexed, but
also (mainly) because I want to know more about how to do something like
this in zsh.
Sorry for the monologue, but are there any takers?
Thanks,
Tom
--
Tom Martin, http://dev.gentoo.org/~slarti
next reply other threads:[~2005-04-25 8:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-25 8:47 Tom Martin [this message]
2005-04-25 10:51 ` DervishD
2005-04-25 11:19 ` Tom Martin
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=20050425084757.GA9617@pohl.lj.net \
--to=slarti@gentoo.org \
--cc=zsh-users@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).