blob: c1d961acf80ae7289271daa44e7148d2b8ab273c (
plain) (
tree)
|
|
#!/bin/sh
MUTT_ALIAS=${HOME}/.mutt/alias.rc
MAILX_ALIAS=${HOME}/.mailx-aliases.rc
awk '{
NAME="";
for (i = 3; i < NF; i++) {
NAME=NAME " " $i;
};
NAME = substr(NAME, 2);
print "alias", $2, "\"" $NF, "(" NAME ")\"";
}' $MUTT_ALIAS > $MAILX_ALIAS
|