Sort after merge?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

Sort after merge?

Postby DFH » Mon Dec 27, 2010 9:33 pm

Suppose you want to extract a specified pattern out of several input files, merge the outputs to a single text file, and sort afterwards.

Can this be done by a single TextPipe filter?

David

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

Re: Sort after merge?

Postby DataMystic Support » Wed Dec 29, 2010 5:49 pm

Easily - just use Filters\Special\Secondary output filter after the extract, and follow it with a sort.
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: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Sort after merge?

Postby DFH » Wed Dec 29, 2010 10:22 pm

Simon,

I can't find such a thing under Filters\Special
and the help file does not say that it's one of those features only available in TextPipe Pro.

The help page merely reads
Found under Filters\Special

A Secondary Output Filter behaves just like an Output Filter, but can be used anywhere in the filter list.
It's purpose is to take a restricted set of output (e.g matching lines, non-matching lines etc) and send it to a new file.
It is also commonly used to match records from the Mainframe Copybook Wizard and send them to a new file.
Commonly, this filter is followed by a Remove All filter to prevent the output re-entering the text stream.


David
TextPipe Standard user

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

Re: Sort after merge?

Postby DataMystic Support » Thu Dec 30, 2010 7:22 am

Hmm, my understanding was that it was in Standard - I will check it out.
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: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Sort after merge?

Postby DFH » Thu Dec 30, 2010 8:31 pm

Hello Simon,

Why is it that some filters available only for TextPipe Pro are visible & selectable in TextPipe Standard?
e.g. Restrict to Matching lines (grep).

You only get to find out when you either consult the contextual help for the selected filter, or when you try to start the main filter.

Sometimes, the contextual help is misleading, in that it fails to indicate that the selected filter is only available in Pro.

And in this case, even you were not sure why the particular filter was not actually visible.

Maybe the available filters pane needs to change "design philosophy".

i.e. Display all available filters, but for Standard, grey out those only usable in Pro, and for Lite, grey out those only usable in Standard and Pro.
You could even provide mouseover tooltips for greyed out filters, to indicate why they are greyed out.

Best regards,
David

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

Re: Sort after merge?

Postby DataMystic Support » Mon Jan 03, 2011 11:43 am

Hi David,

Over time, more filters have moved from Pro into Standard.

The help file has not been updated at the same time to reflect this.

The Lite version does not show the extra filters, because the idea was to simplify the interface, but perhaps it could be done by moving all those items to the end of the menus.
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


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

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest