[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quick pqact.conf question



On Tue, 7 Dec 1999, Collin Daly wrote:

> Hi Rob,
> 
> Suppose I would like to email myself the metar report for only Boston.
> I am not sure how to extract a bulletin from a particular header.  I
> have this in my pqact.conf for my entry:
> 
> DDS    ^(SAUS80)    KBOS    PIPE -strip    -close    /usr/ucb/mail -s
> "\1 METAR for KBOS"    address@hidden
> 
Collin,

Your pattern isn't correct, the entry should be:

DDS     ^(SAUS80) KWBC
        PIPE -strip    -close    /usr/ucb/mail -s "\1 METAR for KBOS"
address@hidden

The KBOS report is inside the SAUS80 KWBC bulletin.  If you just want to
get the KBOS report then you will have to run pqsurf. Look at the man page
for pqsurf.  Another option is write a script that extracts the KBOS
report from the SAUS80 KWBC bulletin.

Robb...


> unfortunatly I do not recieve ANY email from this.  The SAUS80 KWBC does
> have current reports for KBOS.  How do I go about doing this?  Thanks.
> Collin
> 
> 
> Collin Daly
> Meteorological Systems Engineer
> Alden Electronics, Inc.
> 40 Washington Street
> Westborough, Ma 01581
> Voice: (508)366-8851x2268
> Fax:    (508)898-2427
> e-mail: address@hidden
>   visit us at:
> http://www.alden.com
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================