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?

有帮助吗?

解决方案

I like to use

$ wdiff a b

# 1,"abc","( @docid =""00123"" or @docid =""00456"") AND [-a_number-] {+@a_number+} is not NULL"
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top