aとbの差分はdiffで出すことができますが、タイトルのような差分の出し方はありますか?
例えば次のようなコードがあるとします。
a.js
js
1const co = "hello" 2const wo = "world" 3const tes = "test"
b.js
js
1const ss = "ssd" 2const wo = "world" 3const ee = "eworld"
c.js
js
1const ssww = "sssd" 2const we = "fff" 3const eef= "eworffeld"
この場合aとbでは2行目があっていますが、cの2行目は異なっています。
ですので2行目だけをみつけたい意図です。