Create a bunch of aliases for ecartis

for list in list1 list2 list3 list4 ; do for action in "" -admins -bounce -moderators -repost -request ; do echo $list$action@lists.catch22.org $list$action.lists.catch22.org >> virtuals ; echo $list$action.lists.catch22.org: "|/var/ecartis/ecartis -c cfg/cfg.lists.catch22.org $action $list" >> aliases ; done ; done

This entry was posted in Unix command of the day. Bookmark the permalink.

2 Responses to Create a bunch of aliases for ecartis

  1. Keith Garner says:

    I asked Dave to post this just so I could say “You know, unix rules.”

  2. Sure unix rules. But this is more of an “sh rules” kind of post. Might be a little cooler in some lispy kind of language, or for true rulage, python.

Leave a Reply to Keith Garner Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>