Home

 

Examples

 

Technical

 TextMaestro

 

2003 TextMaestro Technologies

 

Technical

1.

Introduction

2.

Main Toolbar

3.

Session Toolbar

4.

FTP Toolbar

5.

File Attributes

6.

Project Manager

7.

Account Manager

8.

Browse Remote
System

9.

Text Conversion Dialog

10.

Text Conversion Attributes

11.

Text Conversion Libraries

12.

Text Conversion Rules

13.

Text Conversion Batch Mode

14.

Text Conversion Command Line

15.

Report

16.

Diff-and-Merge

17.

Cross Listings

18.

Program Options

19.

Save Program Data

 

17. Cross Listings

Cross is similar to diff with a key difference. It performs a comprehensive analysis of the listings and creates a report on items which are exclusively found in each listing and also on the commonality of the listings.

Typically you place a list of items on Input window and another list on Output window. Then click on from Main toolbar to Open Session toolbar as shown below.

Then click on  Diff and Merge (Alt+D) button:

The following dialog will appear where you select Cross tab.

 

Select a set of files from the main -list and use this button to create the report.

 

Report is place don the Input window.

Place one listing on Input window and another on Output window, and use this button to create the report.

 

Report is placed on the Message window.

The key concept behind Cross:

Consider the following text in Input window and Output window:

 

Input window

Output window

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

file_1

file_2

file_3

file_4

file_5

file_6

file_trip

file_8

file_9

file_a

file_1

file_2

file_3

file_lalu

file_5

file_6

file_duba

file_7

file_8

file_batu

file_9

file_a

Cross of these two lists is a report as shown below:

Files found exclusively in Basket-1: Input text (2)

-----------------------------------------------

    file_4

    file_trip

Total 2 items.

 

Files found exclusively in Basket-2: Output text (4)

------------------------------------------------

    file_7

    file_batu

    file_duba

    file_lalu

Total 4 items.

 

Files common to all selected baskets:  (8)

--------------------------------------

    file_1

    file_2

    file_3

    file_5

    file_6

    file_8

    file_9

    file_a

Total 8 items.

 

 

This report says it all. Input window text has two items that are not in Output window text. Output window text has 4 items that are not in Input window text. And finally, there are 8 items which are both in Input and Output window text. In picture:

 

Comments:

1. The listing in a file or Input/Output window does not need to be sorted, even though the report always is.

 

2. Check on Show Add/Delete trail (Cross) (as shown on the left) and the report will show a matrix that represents the anomalous files' history of being added or deleted. Here is a demo:

 

Tracing addition and deletion of files:

---------------------------------------

0: Absent,   1: Present

                 B1   B2   

                 -------

    file_4       1    0    

    file_7       0    1    

    file_batu    0    1    

    file_duba    0    1    

    file_lalu    0    1    

    file_trip    1    0    

 

for the above example. See Example 20 for details.

Top