* Thomas Huemmler <[EMAIL PROTECTED]> [2002-03-28 08:55:45 +0100]:
>* Sven Guckes <[EMAIL PROTECTED]> [02/03/28 07:58]:
>> well, I had tried to delete
>> those lines with sed pattern
>>   /^\[-- .* --\]$/d
>> but it did not work.
>> 
>> however, using the
>> following sed pattern
>> makes them go away:
>>   /-- .* --/d
>> 
>> I'll have to find out why the
>> first pattern did not work...
>
>...maybe you'll see clearer, if you look at the pgp attachment in a
>signed mail (or after reading chapter 8 in the Mutt-GnuPG-PGP-HOWTO).
>
>HTH,
>Thomas 
>
>-- 
>Thomas Hümmler * [EMAIL PROTECTED] * http://www.huemmler.de

  Actually, I've had similar trouble trying to colorize some things.
Consider the following two folder hooks:

folder-hook . color body red default \"^gpg: WARNING: This key is not certified with a 
trusted signature!.*\"
folder-hook . color body red default \"^gpg:          There is no indication that the 
signature belongs to the owner.*\"

  Note: all the whitespace in there are spaces.  These two folder-hooks
work.

  BUT

  If I replace the .* at the end with a $ (to make the match tighter),
they stop working.  It suggests to me that there is some kind of control
character or other nonprintable hanging at the end of the line
there...but I'm not sure how to determine what it might be.  I think
this may be the cause of Sven's problem as well.  Sven, why don't you
try this and see if it works:

/^\[-- .* --\].*/d

  The same as the first pattern you showed, that you said didn't work,
except that the $ that explicitly terminates the line is replaced by the
sequence .* instead.

-- 
geez when am I going to fix this, it worked for like a day too

Attachment: msg26345/pgp00000.pgp
Description: PGP signature

Reply via email to