compare with output of difference

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Nico
Posts: 6
Joined: Thu Oct 02, 2003 2:49 pm

compare with output of difference

Post by Nico »

Hello,
I cannot find the right answer/solution for the following
I have two list with numbers>list A:1500 and listB: 1300
and I want een output of the lacking numbers of differing numbers..
Compare does not generate the missing numbers in a lst..
Anyone a idea?
Thanks in advance..
nico
nvj1662
Posts: 53
Joined: Thu May 17, 2007 10:02 am

compare with output of difference

Post by nvj1662 »

If the two files are text, you could achieve this using grep -v. grep is a unix command line utility but a number of dos ports are available on the interweb.
Nico
Posts: 6
Joined: Thu Oct 02, 2003 2:49 pm

Post by Nico »

no, only numbers
two rows with 4 positions

0002 0045
0132 1234
etc
nvj1662
Posts: 53
Joined: Thu May 17, 2007 10:02 am

Post by nvj1662 »

If the hex representation of those numbers is:
30 30 30 02 30 30 34 35
30 31 33 32 31 32 33 34
etc

grep will work fine.
Post Reply