Question

I have 2 files- a and b.

a

1,"abc","( @docid =""00123"" or @docid =""00456"") AND a_number is not NULL"

b

1,"abc","( @docid =""00123"" or @docid =""00456"") AND @a_number is not NULL"

How do I diff this 2 files and show only the part changes in a_number instead of the whole string?

Was it helpful?

Solution

I like to use

$ wdiff a b

# 1,"abc","( @docid =""00123"" or @docid =""00456"") AND [-a_number-] {+@a_number+} is not NULL"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top