Problems with split file filter

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

DFH
Posts: 654
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Problems with split file filter

Postby DFH » Fri Apr 25, 2014 11:51 pm

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
   

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Problems with split file filter

Postby DataMystic Support » Mon Jun 30, 2014 12:39 pm

Hi David,

Please verify that this is fixed in v9.7.

Thanks,

Simon
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 654
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Problems with split file filter

Postby DFH » Sun Jul 27, 2014 4:51 am

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


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: Baidu [Spider] and 11 guests