namealign is an application that renames files in a way that they are equally formatted.
It follows the same idea of character-classification as the tool pftdbns, but does not sort files into directories. Instead it renames files of the same filename-macrostructure to be equally formatted (e.g. inserting a leading 0 in a numbered part of the name).
Name/String, Character Classes, Structure (Micro-/Macrostructure)
In the description of the tool pftdbns I mentioned the term "name structure" or "structure". I now refer to this name structure (string structure) as microstructure. I do this to distinguish it from the macrostructure, which I invented for the namealign-tool.
In short words: character classes are used to detect the micro-structure of a string. Therefore the microstructure of a string is an abstraction on strings, based on character classes.
Macrostructures of a string are abstractions on the microstructure.
What's New in This Release:
· A tail-recursive function is now used in processing the record lists to avoid a Stack-overflow exception when working on a large number of files.
· This change has no externally visible effect.