Friday, 12 September 2014

Favourite alias of the week: 'dico'

diff provides one interesting option, '-y':

       -y, --side-by-side
              output in two columns

If you combine it with '--suppress-common-lines':

       --suppress-common-lines
              do not output common lines

you get a very nice to view diff in two columns, where only the different lines are displayed.

My alias is:
alias dico='diff -y --suppress-common-lines'

No comments:

Post a Comment