NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Inverted pqact.conf matches

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
>

  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: