I am unable to recreate your problem. Maybe check what character you get from the comm command (is it a tab).
Running only comm the left column is not found and right is found
Code:
# comm -2 abc.txt abc1.txt
700250154
700250155
700250156
700250157
700250158
700250159
700250160
700250161
700250162
700250163
700250164
700250165
700250166
700250167
700250168
700250169
700250170
700250171
700250172
700250173
700352925
--snip,snip --
And adding sed:
Code:
# comm -2 abc.txt abc1.txt | sed 's/^\([0-9]\)/not found \1/;s/\( \)/found /'
not found 700250154
not found 700250155
not found 700250156
not found 700250157
not found 700250158
not found 700250159
not found 700250160
not found 700250161
not found 700250162
found 700250163
found 700250164
found 700250165
found 700250166
found 700250167
found 700250168
found 700250169
found 700250170
found 700250171
found 700250172
not found 700250173
not found 700352925
--snip,snip --