MATCH(nged)
list database objects whose names match a wildcard expression
π MATCH(nged) β the wildcard match era
okay bestie, welcome to MATCH(nged), the BRL-CAD user command that's about to make hunting down objects in your database feel like scrolling your fave playlist instead of digging through a filesystem. grab a snack, this one's short and sweet π
β¨ NAME β¨
match β lists database objects whose names match a wildcard expression. that's it, that's the whole vibe. no cap π
πΈ SYNOPSIS πΈ
match expression [expression ...]
one expression? cute. five expressions? also valid, main character energy either way β¨
π¦ DESCRIPTION π¦
the match command lists all the database objects whose names match one or more wildcard expression patterns. literally all of them that fit. π
each expression gets matched independently against every object name in the database, using standard path-matching wildcard rules β the exact same rules bu_path_match uses, iykyk. here's the wildcard cheat sheet:
*β matches any sequence of characters, including none at all (yes, zero characters counts, she's flexible π )?β matches any single character, one and done[...]β matches any character in the set
then the names of all matching objects get printed. and if you hand her multiple expressions? she gives you the union of all the matches β everyone's invited to the party π«Ά
π§ EXAMPLES π§
Example 1. List all objects starting with hull
mged> match hull*
lists all objects whose names begin with hull β for example: hull.r, hull.s, hull_backup.r. slay, instant glow-up of a list π
Example 2. Match by suffix
mged> match *.r
lists all objects whose names end in .r (typically regions). suffix matching ate, no crumbs πβ¨
Example 3. Multiple patterns
mged> match hull* turret*
lists all objects matching either hull* or turret*. two patterns, one command, union energy, periodt π₯
π SEE ALSO π
ls(nged)search(nged)
go give the neighbors a visit, they're iconic too π
π AUTHOR π
BRL-CAD Team β the collective main characters behind all of this π«Ά
π BUG REPORTS π
found a bug? a problem? something acting sus? reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β don't be shy, they want to hear it fr fr π§
ngl, this page is a whole mood: short, sweet, and it does exactly what it says. no notes. π
and that's a wrap on MATCH(nged) from BRL-CAD, bestie β this manual page is brought to you by the BRL-CAD crew, dated the day the page was stamped, and honestly? iconic from header to footer. see you in the next one π¦π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms