colordiff --version (return code: 0)
diff (GNU diffutils) 3.3[0;0m
Copyright (C) 2013 Free Software Foundation, Inc.[0;0m
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.[0;0m
This is free software: you are free to change and redistribute it.[0;0m
There is NO WARRANTY, to the extent permitted by law.[0;0m
[0;0m
Written by Paul Eggert, Mike Haertel, David Hayes,[0;0m
Richard Stallman, and Len Tower.[0;0m
colordiff --help (return code: 0)
Usage: diff [OPTION]... FILES[0;0m
Compare FILES line by line.[0;0m
[0;0m
Mandatory arguments to long options are mandatory for short options too.[0;0m
--normal output a normal diff (the default)[0;0m
-q, --brief report only when files differ[0;0m
-s, --report-identical-files report when two files are the same[0;0m
-c, -C NUM, --context[=NUM] output NUM (default 3) lines of copied context[0;0m
-u, -U NUM, --unified[=NUM] output NUM (default 3) lines of unified context[0;0m
-e, --ed output an ed script[0;0m
-n, --rcs output an RCS format diff[0;0m
-y, --side-by-side output in two columns[0;0m
-W, --width=NUM output at most NUM (default 130) print columns[0;0m
--left-column output only the left column of common lines[0;0m
--suppress-common-lines do not output common lines[0;0m
[0;0m
-p, --show-c-function show which C function each change is in[0;0m
-F, --show-function-line=RE show the most recent line matching RE[0;0m
--label LABEL use LABEL instead of file name[0;0m
(can be repeated)[0;0m
[0;0m
-t, --expand-tabs expand tabs to spaces in output[0;0m
-T, --initial-tab make tabs line up by prepending a tab[0;0m
--tabsize=NUM tab stops every NUM (default 8) print columns[0;0m
--suppress-blank-empty suppress space or tab before empty output lines[0;0m
-l, --paginate pass output through 'pr' to paginate it[0;0m
[0;0m
-r, --recursive recursively compare any subdirectories found[0;0m
--no-dereference don't follow symbolic links[0;0m
-N, --new-file treat absent files as empty[0;0m
--unidirectional-new-file treat absent first files as empty[0;0m
--ignore-file-name-case ignore case when comparing file names[0;0m
--no-ignore-file-name-case consider case when comparing file names[0;0m
-x, --exclude=PAT exclude files that match PAT[0;0m
-X, --exclude-from=FILE exclude files that match any pattern in FILE[0;0m
-S, --starting-file=FILE start with FILE when comparing directories[0;0m
--from-file=FILE1 compare FILE1 to all operands;[0;0m
FILE1 can be a directory[0;0m
--to-file=FILE2 compare all operands to FILE2;[0;0m
FILE2 can be a directory[0;0m
[0;0m
-i, --ignore-case ignore case differences in file contents[0;0m
-E, --ignore-tab-expansion ignore changes due to tab expansion[0;0m
-Z, --ignore-trailing-space ignore white space at line end[0;0m
-b, --ignore-space-change ignore changes in the amount of white space[0;0m
-w, --ignore-all-space ignore all white space[0;0m
-B, --ignore-blank-lines ignore changes where lines are all blank[0;0m
-I, --ignore-matching-lines=RE ignore changes where all lines match RE[0;0m
[0;0m
-a, --text treat all files as text[0;0m
--strip-trailing-cr strip trailing carriage return on input[0;0m
[0;0m
-D, --ifdef=NAME output merged file with '#ifdef NAME' diffs[0;0m
--GTYPE-group-format=GFMT format GTYPE input groups with GFMT[0;0m
--line-format=LFMT format all input lines with LFMT[0;0m
--LTYPE-line-format=LFMT format LTYPE input lines with LFMT[0;0m
These format options provide fine-grained control over the output[0;0m
of diff, generalizing -D/--ifdef.[0;0m
LTYPE is 'old', 'new', or 'unchanged'. GTYPE is LTYPE or 'changed'.[0;0m
GFMT (only) may contain:[0;0m
%< lines from FILE1[0;0m
%> lines from FILE2[0;0m
%= lines common to FILE1 and FILE2[0;0m
%[-][WIDTH][.[PREC]]{doxX}LETTER printf-style spec for LETTER[0;0m
LETTERs are as follows for new group, lower case for old group:[0;0m
F first line number[0;0m
L last line number[0;0m
N number of lines = L-F+1[0;0m
E F-1[0;0m
M L+1[0;0m
%(A=B?T:E) if A equals B then T else E[0;0m
LFMT (only) may contain:[0;0m
%L contents of line[0;0m
%l contents of line, excluding any trailing newline[0;0m
%[-][WIDTH][.[PREC]]{doxX}n printf-style spec for input line number[0;0m
Both GFMT and LFMT may contain:[0;0m
%% %[0;0m
%c'C' the single character C[0;0m
%c'\OOO' the character with octal code OOO[0;0m
C the character C (other characters represent themselves)[0;0m
[0;0m
-d, --minimal try hard to find a smaller set of changes[0;0m
--horizon-lines=NUM keep NUM lines of the common prefix and suffix[0;0m
--speed-large-files assume large files and many scattered small changes[0;0m
[0;0m
--help display this help and exit[0;0m
-v, --version output version information and exit[0;0m
[0;0m
FILES are 'FILE1 FILE2' or 'DIR1 DIR2' or 'DIR FILE...' or 'FILE... DIR'.[0;0m
If --from-file or --to-file is given, there are no restrictions on FILE(s).[0;0m
If a FILE is '-', read standard input.[0;0m
Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.[0;0m
[0;0m
Report bugs to: bug-diffutils@gnu.org[0;0m
GNU diffutils home page: <http://www.gnu.org/software/diffutils/>[0;0m
General help using GNU software: <http://www.gnu.org/gethelp/>[0;0m