I have a txt file which named as output.txt:
output.txt 2128,4.4 2128,5.5
I wish to have a compare script that first line first number before comma is equal to second line first number, then it will return second line second number after comma.
If the output.txt have different number for first line first number and second line first number, for example:
output.txt 2622,56 1011,65
Then expected output will be return a stringThe value is different