<<< Date Index >>>     <<< Thread Index >>>

Re: strip[p]ing attachment lines in the pager



Allister, Denis, et al --

...and then Allister MacLeod said...
% 
...
% set display_filter="sed -e '/\\[-- .* --\\]/d'"
...
% are special characters.  The backslashes need to be doubled because
% mutt de-escapes backslashes within its quoted strings.  So, the

Perhaps putting the [ inside a char class with a simple

  set display_filter="sed -e '/[[]-- .* --]/d'"

would be easier than all of the backslashing :-)


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) davidtg@xxxxxxxxxxxxxxx * society and not sufficient moral courage.
(work) davidtgwork@xxxxxxxxxxxxxxx  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgpGjMt5Cl521.pgp
Description: PGP signature