Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Inverted pqact.conf matches

This is what I needed.

Thanks.

Steve Chiswell wrote:

Aaron,

The conventional solution to grab all products
starting with "U", but excluding your 2 patterns would be:
^U([^AB]|A[^P]|AP[^A]|B[^U]|BU[^S])

The "^" character within the set [] specified "not".

Steve Chiswell

On Tue, 20 Jan 2004, Steve Emmerson wrote:

Aaron,

Date: Tue, 20 Jan 2004 03:04:41 +0000
From: Aaron Cline <acline2@xxxxxxx>
Organization: ?
To: ldm-users@xxxxxxxxxxxxxxxx
Subject: Inverted pqact.conf matches
The above message contained the following:

Is there a way to match everything EXCEPT what you specify?

For instance, I want to put some PIREPs in a couple of different files
so I have

^UAPA.*
FILE ......

^UBUS.*
FILE ......

and then I want to match everything that starts with a U but doesn't
match the rest of the above.  Any ideas?  I'm coming up blank.
There's no way to do this directly.  One could probably use the
"^_ELSE_$" ERE and a script that ignored data-products whose product-ID
started with "U" to accomplish this, e.g.,

   IDS|DDPLUS   ^_ELSE_$        PIPE    special_script

This entry would have to be after all the other entries and the script
would have to know what to do with the data product.

For more information, see

   
http://my.unidata.ucar.edu/content/software/ldm/ldm-6.0.14/basics/pqact.conf.html

Thanks.

A Cline
Regards,
Steve Emmerson




 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690