Re: Followup on egrep regex problem...

Jim Osborn <[email protected]> Thu, 11 Mar 2010 00:21:20 -0800
Newsgroups gmane.mail.smartlist.user
Message-ID <[email protected]>
On Thu, Mar 11, 2010 at 12:05:47AM -0005, Mike Devour wrote:
> Fair enough. I'm left with my question to Jim, however, of how you 
> manage to represent control characters inside the brackets of a 
> character class expression? Or is that something you always have to 
> work-around to avoid?

I just type them in literally, using whatever special-char-quoting
mechanism is available in the text editor I'm using at the time.

>From time to time I've resorted to something like:
  echo -e "section: \247" >XXX
to get the special character into a file.  Then I can copy and paste
from that file using a variety of means, whatever works for the particular
job at hand.  But I've never had to do any of that in procmail.

Cheers,

Jim