home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.mh
- Path: sparky!uunet!uunet.ca!canrem!telly!druid!r-node!rui
- From: rui@r-node.gts.org (Rui M. Pereira)
- Subject: comapring field/strings in format strings
- Message-ID: <1992Jul22.173413.26902@r-node.gts.org>
- Organization: R-node Public Access UNIX System (416-636-2026) 24hrs.
- Date: Wed, 22 Jul 1992 17:34:13 GMT
- Lines: 16
-
- From what I've read in the mh man pages, this is impossible, but ...
-
- Is it possible to do string comparisons, like the following half-pseudo-code:
-
- if %{from} == "user1@site1"
- %{cc}
- %|
- %{from}
-
- The reason is that one of the mailing lists I receive does not have a
- Reply-To: field, which means it uses the From: field, which is the user
- who sent the message, rather than the mailling list address (which
- --
- -=[Rui M. Pereira]=- <g0pereir@cdf.toronto.edu>|<rui@r-node.{gts.org|uucp}>
- A bad sector disk error occurs only after you've done several hours of work
- without performing a backup. - The Law of Computers -
-