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

Re: Display Filters



* Gary Johnson <garyjohn@xxxxxxxxxxxxxxx> :
> On 2006-06-30, Dave Chandraratnam <davec@xxxxxxxxxxxxxxx> wrote:
> > Gary,
> > 
> > On Thu, Jun 29, 2006 at 10:41:53AM -0700, Gary Johnson wrote:
[snip]
> Here's the more conservative of my "[-- .* --]" filters:
> 
> sed -e '
>       /^\[-- Autoview using .* --]$/d
>         /^^[][0-9;]*^G\[-- Autoview using .* --]$/d
>       /^\[-- Attachment .* --]$/d
>         /^^[][0-9;]*^G\[-- Attachment .* --]$/d
>       /^\[-- Type: .* --]$/d
>         /^^[][0-9;]*^G\[-- Type: .* --]$/d
> '
> 
> Note that the ^[ and ^G pairs should be replaced by a real ESC and a 
> real BEL before using the command.

Gary - I'm giving this one a go, but can't get the BEL character
figured out.  I got the ^[ by hitting ctrl-v then ESC, but how do
your get the BEL?

-- 
Troy Piggins
  ,-o   Ubuntu v6.06 (Dapper Drake): kernel 2.6.15-25-server, 
 o   )  postfix 2.2.10, procmail 3.22, mutt 1.5.11i,
  `-o   slrn 0.9.8.1/rt (score_color patch), vim 7.0