procmail
[Top] [All Lists]

Re: hex value in condition

1997-08-06 00:51:00
On Wed, 06 Aug 1997 15:41:39 +0900, Mitsuru Furukawa <furu(_at_)009(_dot_)com>
wrote:
era eriksson <era(_at_)iki(_dot_)fi>,
 era> On Wed, 06 Aug 1997 14:17:44 +0900, Mitsuru Furukawa 
<furu(_at_)009(_dot_)com>
 era> wrote:
 era> > I want to specify hexadecimal value of for example "cad6bfae"
 era> > which stands for "reply" in Japanese EUC code 
 era> > as value for condition line.
 era> Could you clarify this question?
I want an expression for matching _hex value_ "cad6bfae"
or 4 bytes string "    " which must be unreadable to you.
(I could not send the exact string.)
These are 2 two-byte Japanese characters in EUC code.
Or in perl notation, string "0xca0xd60xbf0xae" ???
Did I clarify the question?

Yes. Can't you just put those four bytes there? There is no notation
for using octal/hexadecimal/whatever codes in place of real
characters. (If you want that, you can write a preprocessor of some
sort which would create your .procmailrc from your own proprietary
source file.)

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

<Prev in Thread] Current Thread [Next in Thread>