Install git.
Hit this at command-prompt from within any git repo(can create afreash using `git init`):
Sample Result:
git diff --no-index --word-diff=color --word-diff-regex=. /path/to/file1 /path/to/file2
Dear Cybernauts,
Many a times you might have wondered a way to compare 2 files not just word to word but character-by-character, nicely coloured, and easy to spot on minute changes!
Without finding anything easily on the Internet apart from purchasable solutions (such as desktop versions of diffchecker.com..) not worth the pennies, I dug up some manuals and found it worth the effort to document it for the lazyweb. There you go! ^^ 😉(HaCk tHe BuSy-NeSSeS build on top of it!??!!! Use the 'man' if needed!)
~Namaste
🙏
No comments:
Post a Comment