Sorting in turn...
Posted: Wed Feb 09, 2011 1:27 pm
I need to take a single line containing pattern and duplicate/insert it x times and increment certain digits in its line number, 1.1.1 (which gets used for sorting).
Then numerically sort ALL input and reset a specific line number digit (1.1.0), and then repeat this process again...so in effect repeating pattern match and sorting entire document in turn.
Sorting after a merge does not work, as it happens only once.
I am using VBScript for part of the processing...but I am not sure if this sorting can be done there either.
Any ideas?
Then numerically sort ALL input and reset a specific line number digit (1.1.0), and then repeat this process again...so in effect repeating pattern match and sorting entire document in turn.
Sorting after a merge does not work, as it happens only once.
I am using VBScript for part of the processing...but I am not sure if this sorting can be done there either.
Any ideas?