From 6d5b7636d68dccf529f2c6edca4c5bc43594512c Mon Sep 17 00:00:00 2001 From: thamaraiselvam Date: Mon, 28 Sep 2020 08:06:50 +0530 Subject: [PATCH] colordiff: add page --- pages/common/colordiff.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/colordiff.md diff --git a/pages/common/colordiff.md b/pages/common/colordiff.md new file mode 100644 index 0000000000..2832f15524 --- /dev/null +++ b/pages/common/colordiff.md @@ -0,0 +1,25 @@ +# colordiff + +> A tool to colorize diff diff output. +> The Perl script colordiff is a wrapper for `diff` and produces the same output but with pretty 'syntax' highlighting. Colour schemes can be customized.. +> More information: . + +- Compare files: + +`colordiff {{file-1}} {{file-2}}` + +- Compare files, output in two columns: + +`colordiff -y {{file-1}} {{file-2}}` + +- Compare files, Ignore case differences in file contents: + +`colordiff -i {{file-1}} {{file-2}}` + +- Compare files, Report when two files are the same: + +`colordiff -s {{file-1}} {{file-2}}` + +- Compare files, ignoring white spaces: + +`colordiff -w {{old_file}} {{new_file}}`