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

LISTrequired

list variable to be appended to

GLOBrequired

Regex pattern of exclusion

SOURCE_DIRoptional

Directory from where to start search

QUIEToptional

Don’t warn if patterns don’t match