also sprach MaD dUCK (on Mon, 11 Dec 2000 10:26:39PM -0500):
:0 fh * ^Sender.*owner-accu-general@accu\.org * ! ^Subject.*\[accu-general\] | sed -e "s/accu-general:/[accu-general]/gi"
and of all such filters in my .procmailrc, i chose the one that doesn't do what i was talking about. this one replaces one style of prefix with the one i prefer. what i was saying could be accomplished by replacing the last line with:
| sed -e "s/\(^Subject:\)/\1 [accu-general]/i"
also, the trailing gi is a gnu extension as volker kindly pointed out. the g really isn't needed for we theoretically only replace "Subject:" once per line per file. the i makes the match case-insensitive. martin [greetings from the heart of the sun]# echo madduck@!#:1:s@\@@@.net -- may the bluebird of happiness twiddle your bits.