procmail
[Top] [All Lists]

Re: search for keyword/delete paragraphs

1999-06-18 08:31:14
The format appears to be that the asterisk is used as the "bullet"
    character of the paragraph, with all subsequent paragraph text indented.
    Perhaps your second method below would be better because of this?  All of
    the text I want to delete is consistently ahead of the first occurence of
    an asterisk.

  Could you send a sample?  There are still several ways to interpret your
  description.  Is the bulleting asterisk flush left or is it a space or two
  away from the left margin?  What separator is there between paragraphs?
  Those are two questions I asked before that remain unanswered, so I think
  the best way is to show us a sample.

OK.  See below for a forwarded sample.  Forwarding only those paragraphs that
begin with asterisks would be the most efficient use of the pager's limited
message length.  

We don't have to worry about excess text at the end, the paging company's system
simply trunkates any text beyond 200 characters prior to transmission.


  Another question: I see you are sending a copy to the pager and apparently
  keeping the original in your email storage.  Do you want the copy that you
  store also to be filtered down to only the asterisked paragraphs, or do you
  want that copy to remain whole while you filter only the copy to be forwarded
  to your pager?

I would like to keep the original intact, and only filter the pager forwarded
copy.  Being  new to procmail, I prefer to be able to see what my original
messages
look like, before  any pager filtering, so I can more easily study and
experiment.

Thanks to you and Era for all your help.

Tom
--- Begin Message ---
 
WIC111-082340-

BULLETIN - IMMEDIATE BROADCAST REQUESTED
SEVERE THUNDERSTORM WARNING
NATIONAL WEATHER SERVICE MILWAUKEE/SULLIVAN WI
544 PM CDT TUE JUN 8 1999

THE NATIONAL WEATHER SERVICE IN MILWAUKEE/SULLIVAN HAS ISSUED A

* SEVERE THUNDERSTORM WARNING FOR...
  SAUK COUNTY IN SOUTH CENTRAL WISCONSIN

* UNTIL 640 PM CDT

* AT 544 PM CDT...NATIONAL WEATHER SERVICE DOPPLER RADAR INDICATED
  A SEVERE THUNDERSTORM NEAR LONE ROCK...MOVING EAST NORTHEAST AT
  20 MPH.

* THE SEVERE THUNDERSTORM WILL BE NEAR...
  BEAR VALLEY AT 547 PM CDT
  PLAIN AT 555 PM CDT
  SPRING GREEN AT 600 PM CDT

DAMAGING WINDS AND LARGE HAIL ARE LIKELY. GO INSIDE A STURDY
BUILDING AND STAY AWAY FROM WINDOWS!

MK/TZ

 


For more data pertaining to this state, visit http://wx4u.com/wx/wi.asp
------------------------------------------------------------------------
US News & World Report

Read this indispensable publication with groundbreaking investigative
reporting, regular weekly features, "News You Can Use" and much, much
more...and take advantage of this special Internet extraordinary savings
offer of four risk-free trial issues 

Try it for FREE today at http://www.bachsys.com/cgi-bin/usnews.pl?xenocode
------------------------------------------------------------------------
WeatherMail is brought to you by http://Wx4u.Com : FREE "Weather 4 You"







--- End Message ---