Urgent

>file.1
>alpha xyz -10
>beta cos -23
>trx cgf -19
> file.2
> alpha xyz -11
>beta cos -13
>trx cgf -19
>adgf jkha -7
>output
>alpha xyz 1(reduced)
>beta cos -10(increased)
>trx cgf -19(no change)
>adgf jkha -7(no change)

check the first two columns of both the files, if the strings match compare the value and output the row with the value increased or decreased or no change, if the pattern not matched output the same using hash function.

Hello!

In case you forgot to read the forum rules, here is quick copy.

Cheers.

The UNIX and Linux Forums

1 Like