Re: Pre-pended strings in the Subject field
Torkil Zachariassen (torkill@login.dknet.dk)
Mon, 22 Apr 1996 01:23:56 +0200
On Tue, 16 Apr 1996 17:26:25 +0300,
s106275@cs.tut.fi (Anssi Saari) wrote in list.yarn:
>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.)
Downloaded the DOS version of sed. Looks very interesting and powerfull.
(e.g. Pascal to C translation!)
I will be able to remove those pre-pended strings in due time.
But it really seams to be somewhat longhaired :-(
>
>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.
That is the easy part, and sometimes I just fetch the Unix mailbox file.
Thank you
Torkil Zachariassen <torkill@login.dknet.dk>