Hello,

I want to compare two rather similar too-large-for-a-human files (20000 lines). These files are the traces left by a trace('i')'ed REXX before and after a (simple) modification. I'm looking for regressions in the program.

A COMPARE or XCOMPARE works perfectly (is never lost), but gives me too many differences.
So, I'd like to filter the traces a bit to have less lines to read/compare.

I can easily isolate the few lines I modified in the REXX (locating a given string), but I'd also like to see the few lines following my given string (to look for regressions).

Is there a filter to do that (something like "locate /theString/ take 3 after"), or a combination of filters (locate, take, combine, strfrlab, ?...) ?

For example, with this input :

A
B
C
DtheString
E
F
G
H
I
J
KtheString
L
M
N
O
P
Q
R
S
U
V
W

I want this ouput :

DtheString
E
F
G
KtheString
L
M
N

Thanks
Michaël

Reply via email to