ecbuild_list_add_pattern

Exclude items from a list that match a list of patterns.

ecbuild_list_add_pattern( LIST <input_list>
                          GLOB <pattern1> [ <pattern2> ... ]
                          [ SOURCE_DIR <source_dir> ]
                          [ QUIET ] )

Options

LIST : required
list variable to be appended to
GLOB : required
Regex pattern of exclusion
SOURCE_DIR : optional
Directory from where to start search
QUIET : optional
Don’t warn if patterns don’t match