Scroll to navigation

ICDIFF(1) User Commands ICDIFF(1)

NAME

icdiff - terminal side-by-side colorized word diff

SYNOPSIS

icdiff [options] left_file right_file

DESCRIPTION

Show differences between files in a two column view.

OPTIONS

show program's version number and exit
show this help message and exit
specify the width of the screen. Autodetection is Unix only
specify the file encoding; defaults to utf8
Do not diff lines that match this regex. Not compatible with the 'line-numbers' option
consider only the first N lines of each file
color by changing the background color instead of the foreground color. Very fast, ugly, displays all changes
override file labels with arbitrary tags. Use twice, one for each file. You may include the formatting strings '{path}' and '{basename}'
generate output with line numbers. Not compatible with the 'exclude-lines' option.
use non-bold colors; recommended for solarized
don't label the left and right sides with their file names
specify the output encoding; defaults to utf8
recursively compare subdirectories
report when two files are the same
color all non-matching whitespace including that which is not needed for drawing the eye to changes. Slow, ugly, displays all changes
tab stop spacing
truncate long lines instead of wrapping them
generate patch. This is always true, and only exists for compatibility
how many lines of context to print; can't be combined with --whole-file
show the whole file instead of just changed lines and context
strip any trailing carriage return at the end of an input line
choose which colors are used for which items. Default is --color-map='add:green_bold,change:yellow_bold,desc ription:blue,line-numbers:white,meta:magenta,separator :blue,subtract:red_bold'. You don't have to override all of them: '--colormap=separator:white,description:cyan
Show the real file name when displaying git-diff result
November 2021 icdiff version 2.0.4