Problems with split file filter

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Problems with split file filter

Post 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
    
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Problems with split file filter

Post by DataMystic Support »

Hi David,

Please verify that this is fixed in v9.7.

Thanks,

Simon
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Problems with split file filter

Post 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
David
Post Reply