procmail
[Top] [All Lists]

Re: procmail/sed script for Travelocity fare updates

2001-03-05 05:18:57

I don't know if you copied and pasted something wrong or if I did,
but I can't make your pipeline work (at a shell prompt) the way
it's apparently intended.

my first question would be, what version of sed are you using?  if it
isn't gnu sed 3.02.80 then it won't work as expected


The recipe above will also collect more than one fare update in the same
message, where yours I believe would only pass the last one. Of course
that's meaningless if there's never more than one.

I've never seen one with more than one


The output is more sparse than yours, and reports fare difference
rather than old price, but otherwise has the pertinent information.
(It also assumes only price decreases are reported.)

It assumes incorrectly ;-)

The price watch shows increases and decreases of $25 or more (otherwise I
would not bother to show more than the first $ amount)


It's pretty trivial to spruce up the output, but I figured this might
be good enough to a pager.

the main point is to make sure if I decide to ignore my email I won't miss
a few certain crucial things, so the format is unimportant as long as it
is below 150 characters

TJL



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail