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
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.