Removing pesky Subject line tags1997-08-06 22:21:00Hi, Several of the mailing lists I receive have started adding those pesky [LISTNAME] or {listname} tags to their Subject lines. I've developed this recipe to get rid of them but it seems rather inefficient. Can anyone suggest improvements? # Remove annoying [XXX] tag from Subject line and store in MH folder :0 * ^TOxxx@ { NEW_SUBJECT=`formail -XSubject: | sed -e "s/\[XXX\] //"` :0 fh | formail -i "$NEW_SUBJECT" :0 xxx/. } Thanks, --[Lance]
|
|