Split at Pattern - bug in version 8.4.9
Posted: Wed Feb 24, 2010 4:59 am
One of my filters no longer works properly in TextPipe Standard 8.4.9 which I downloaded on 18 Feb 2010.
It was working fine in version 8.4.8, so there must be a bug somewhere in the updated version.
Here is the split filter:
Symptoms: Only the last split file output file remained after the filter had been completed.
Analysis (from logging): All the output filenames were the same, each began with string ".2d_" rather than with the formatted split file counter.
NB. The release notes "What's new?" indicated that this feature was recently updated, yet there was no corresponding revision for the Help file!
"Environment variables are now allowed in the split filename."
It looks like this code revision was inadequately tested.
It was working fine in version 8.4.8, so there must be a bug somewhere in the updated version.
Here is the split filter:
Code: Select all
Split before pattern ^\\id (\w+)$, filename %2.2d_%f.usfm, number 0 count 1
Analysis (from logging): All the output filenames were the same, each began with string ".2d_" rather than with the formatted split file counter.
NB. The release notes "What's new?" indicated that this feature was recently updated, yet there was no corresponding revision for the Help file!
"Environment variables are now allowed in the split filename."
It looks like this code revision was inadequately tested.