Hi all,
I spent most of yesterday trying to figure out what exactly was going on in the 2000+ line sclc script. I think I have managed to fix it so it properly excludes things (well I guess I only really know what it filters out .svn folders now). Please let me know if the regex for the default excludes needs to be fixed.

The new options are:

-default_exclude -- this will exclude a predefined set of files/directories that are similar to what Apache Ant excludes

-exclude [RegEx] -- this is used to specify a single regex string to compare file paths with for exclusion. Currently, for each additional string being specified a new -exclude is needed. So, there can be any number of -exclude's when invoking the script. This is how the script originally did exclusions on filenames except it used -except. This isn't the nicest thing to do but for now it works...

-default_exclude and -exclude can be used together. If none are used then all files will be evaulated.

I have removed:
-except and -name. These dealt with filename filtering only. Since I rewritten the filtering method these are no longer supported or needed. Please use -exclude.

~Julie

Reply via email to