Here mention a perl script package on Debian,
colordiff. For highlighting output of
diff just only pipe the output of diff to colordiff. For example,
$ diff -rq /etc /var | colordiff | less -R or other similar commands as
$svk diff | colordiff | less -R to get the highlighted. Otherwise we can use vim to got the same effect if
syntax on has set in .vimrc. For example,
$diff -rq /etc /var | vim -. Just only some difference between them. :p
No comments:
Post a Comment