diff - Command-line tool to display the differences between two files, or each corresponding file in two directories.
1
vote
2answers
71 views
Reduce redundant logfile
I often have longer redundant log files, redundant in the sense that blocks of text repeat with minor changes. The length of the files makes it difficult to spot the actual information. I had the idea ...
1
vote
1answer
83 views
How can I see moved lines in a file comparison with vimdiff / diff?
Moved lines are frequently annotated as deletes and adds but they can be shown as moved-from and moved-to instead.
Like in this screenshot of Notepad++.
1
vote
1answer
84 views
Getting diff (or git diff) to show inserted hunks properly
Let's say I have two files. The first one has the contents:
line 1
foo
line 2
line 1
bar
line 2
And the second one has a new section inserted in the middle, so it looks like this:
line 1
foo
...
2
votes
0answers
95 views
Using Unison with colordiff
I want Unison to show the diffs with colordiff.
I’ve got diff = colordiff -u CURRENT2 CURRENT1 | less -R in my config file but it seems like Unison pipes the output to plain less nonetheless, so I ...