quick Tcl globbing question: excluding lib*.[0-9.]*.dylib

René J.V. Bertin rjvbertin at gmail.com
Fri Jun 15 17:39:25 UTC 2018


Hi,

Is there a way to write a single glob regexp that expands to all lib*.dylib EXCLUDING lib*.[0-9]*.dylib, lib*.[0-9]*.[0-9]*.dylib, etc? I think the excluded list could be obtained by lib*.[0-9.]*.dylib (assuming the dot isn't a wildcard here), is there a better way to get at the list I want than to do 2 globs and then a list exclusion operation?

Thanks,
R.


More information about the macports-dev mailing list