folks, i've implemented the below script per the FAQ to prepent "[MPLS-OPS]" to the subject of all list messages.
However, the subject line is only adding "[-OPS]", any thoughts for a fix?
----------- # # rc.local.s10 #
# # Insert the list name into the subject field (if not already there) #
:0 fhw * $ ! ^Subject:.*[$MPLS-OPS] * ^Subject:/.* | formail -I "Subject: [$MPLS-OPS]:$MATCH"
On Fri, Mar 15, 2002 at 11:20:39AM -0500, Irwin Lazar wrote:
folks, i've implemented the below script per the FAQ to prepent "[MPLS-OPS]" to the subject of all list messages. However, the subject line is only adding "[-OPS]", any thoughts for a fix?
Yes. $MPLS-OPS means "take the value of the variable MPLS, and append the string -OPS to that". Easiest solution is to call the variable something else - or just delete the $.
Roger
smartlist@lists.rwth-aachen.de