On Wed, Jan 17, 2001 at 09:29:53AM +0100, Fredrik Jagenheim wrote:
> I just wish there would be a way to unspecify mailboxes after doing
> something like that. Like 'SPAM' and 'outbox'. I usually end up doing
> hairy sed scripts, when something like;
> mailboxes `echo $HOME/Mail/*`
> mailboxes -SPAM -outbox
>
> Perhaps it is possible, I just missed it?
How about something like:
,----
| echo $HOME/Mail/* | tr " " "\n" | grep -Ev "<not wanted>" | tr "\n" " "
`----
Where <not wanted> is the list of boxes you don't want. eg:
,----
| grep -Ev "SPAM|outbox"
`----
--
Dave Pearson: | mutt.octet.filter - autoview octet-streams
http://www.davep.org/ | mutt.vcard.filter - autoview simple vcards
Mutt: | muttrc2html - muttrc -> HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode