Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Globbing/parameter expansion question
- X-seq: zsh-users 8751
- From: Tom Martin <slarti@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Globbing/parameter expansion question
- Date: Mon, 25 Apr 2005 09:47:57 +0100
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author