Page 1 of 1

Problems with split file filter

Posted: Fri Apr 25, 2014 11:51 pm
by dfhtextpipe
When using a split file filter, TextPipe seems to not quite complete correctly after the last output file.
The symptom is that a temporary file left in output folder, which cannot be deleted unless TextPipe is closed.

Code: Select all

Comment...
|  Split into separate USFM files
|  
|  2012-10-17
|  Added a formfeed (\f) before each \id after line 2
|  
|  2010-02-25
|  Changed the split pattern to \f and "At pattern"
|  Changed the split counter to start at 1
|  
|  This solved the following problem:
|  A zero length file was created with filename 00_*.usfm
|  
|  Possible further enhancement:
|  Add \id XXX before \id MAT to increment the file number
|  How to include the book ID in the split filename?
|
|--Restrict lines:Line 2 .. line END - 1
|  |
|  +--Perl pattern [^(\\id)] with [\f$1]
|        [X] Match case
|        [ ] Whole words only
|        [ ] Case sensitive replace
|        [ ] Prompt on replace
|        [ ] Skip prompt if identical
|        [ ] First only
|        [ ] Extract matches
|        Maximum text buffer size 4096
|        [ ] Maximum match (greedy)
|        [ ] Allow comments
|        [ ] '.' matches newline
|        [X] UTF-8 Support
|      
+--Split at pattern ^\f, filename %2.2d_%f.usfm, number 1 count 1
    

Re: Problems with split file filter

Posted: Mon Jun 30, 2014 12:39 pm
by DataMystic Support
Hi David,

Please verify that this is fixed in v9.7.

Thanks,

Simon

Re: Problems with split file filter

Posted: Sun Jul 27, 2014 4:51 am
by dfhtextpipe
Not done much on the PC since our holiday in the first week of July.

I'll update this issue further after I've tried with version 9.7

David