Sun, 06 Oct 1996 19:13:30 +0200, stefan@pink.allcon.com (Stefan Behrens) wrote:
>I want to append different SIGs to mail and news-postings.
>Maybe this would be possible with YEP, but how ?
Make your yarn SIG to look like this (only change angle brackets to curly
brackets):
<SETFLAG:false>
<IFNG:.><IMPF:c:\path\newsgroup.sig>
<IFFLAG:false><IMPF:c:\path\mail.sig>
Now create the two sig files "c:\path\newsgroup.sig" and the "mail.sig".
What the above does is:
- set the YEP global flag to false (that line will not be printed)
- check if there is a newsgroup with a "." in it. Since all newsgroups
contain a period somewhere in them if there is any newsgroup: header
we will get a match. If there is then then newsgroup.sig is imported.
- check if the global flag is still false (it will be true if the previous
"IF" made a match), if it's false then no Newsgroup match was made
so the mail.sig will be imported.
-- .+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+. Tam Meddleton =As Gregor Samsa awoke one morning= as544@torfree.net -=-=-= begging you to read Till We Have Faces by C. S. Lewis =-=-=- ~`~`~'~`~`~'~`~`~'~`~`~'~`~`~'~`~`~'~`~'~'~`~'~'~`~'~'~`~'~'~`~'~'~`~ * October 9th * International Day of Wearing Someone Else's Shoes