Re: List mailboxes

"Paul van der Vlis via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Op 10-04-2024 om 09:39 schreef Paul van der Vlis via Info:

> #!/bin/bash
> #/usr/local/sbin/lm
> lm2 | grep -v 'localhost> ' | cut -d/ -f2 | cut -d' ' -f1 | grep '@'

This is nicer:

lm2 | grep -v 'localhost> ' | cut -d/ -f2 | cut -d' ' -f1 | grep '@' \
     sort -u | grep "$1"

With regards,
Paul


-- 
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T5c3b723599f1c213-M6fce8073a434f19cff503dff
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.