Re: Pre-pended strings in the Subject field

Anssi Saari (s106275@cs.tut.fi)
Tue, 16 Apr 1996 17:26:25 +0300

In article <tyqcxQGibyib089yn@login.dknet.dk>,
torkill@login.dknet.dk (Torkil Zachariassen) wrote:
:>Is there some add-on to Yarn that can delete or modify
:>a pre-pended part of the Subject field in incomming mail?

Not that I know of, but running the soup file which contains the mail through
sed -e "s/^Subject: .* - /Subject: /" -e "s/^Subject: \[.*\]/Subject:/"
should do the trick. (There's an OS/2 port of sed and probably dos as well.)

Finding out which file has the mail in the soup packet is a little
more work, but the info is stored in the AREAS file, if you're going to
write some sort of a script to do this.

-- 
Anssi Saari - s106275@cs.tut.fi