#!/bin/sh # # cpp-preprocessing of muttrc # (c) 2002 Hugo Haas - http://larve.net/people/hugo/ MUTT=/usr/local/bin/mutt MUTTCONF=$HOME/.mutt MUTTRCCPP=$MUTTCONF/muttrc.cpp MUTTRC=$MUTTCONF/muttrc while [ x"$1" != x ]; do case "$1" in --) shift break ;; *) cppargs="$cppargs $1" ;; esac shift done cpp $cppargs -Uunix -Ulinux $MUTTRCCPP > $MUTTRC exec $MUTT "$@"