ICDIFF(1)
π ICDIFF β terminal side-by-side colorized word diff π
ok so bestie. icdiff is the terminal side-by-side colorized word diff and honestly? it's giving glow-up. it's the diff you show your friends. it's the diff with main character energy. no cap. β¨
π SYNOPSIS π
icdiff [options] left_file right_file
two files, one vibe check, zero drama (unless you want drama, in which case, keep reading). π¦
πΈ DESCRIPTION πΈ
it shows you the differences between files in a two column view. left file on the left, right file on the right, and the changes just β¨ glow β¨ so your eyeballs can clock them instantly. periodt.
π OPTIONS π
--versionβ show the program's version number and then dip. that's it, that's the whole option. π-h,--helpβ show this help message and exit. hi bestie, here's the manual, love u. π«Ά--cols=COLSβ specify the width of the screen. heads up: autodetection is Unix only, so if you're somewhere else, you're on your own fr fr. π--encoding=ENCODINGβ specify the file encoding. default isutf8because of course it is. π-E MATCHER,--exclude-lines=MATCHERβ do not diff lines that match this regex. not compatible with the'line-numbers'option, so pick a lane, babe. π--head=HEADβ only look at the first N lines of each file. we're skimming, not reading. π-H,--highlightβ color by changing the background color instead of the foreground color. the manual itself says: very fast, ugly, displays all changes. iconic honesty. it's ugly but it's fast, iykyk. π-L LABELS,--label=LABELSβ override file labels with arbitrary tags. use it twice, once for each file. you may include the formatting strings'{path}'and'{basename}'β¨-N,--line-numbersβ generate output with line numbers. not compatible with the'exclude-lines'option. it's one or the other, bestie, choose wisely. π--no-boldβ use non-bold colors. recommended for solarized. soft girl aesthetic mode. πΈ--no-headersβ don't label the left and right sides with their file names. mysterious. anonymous. main character with no name. π¦--output-encoding=OUTPUT_ENCODINGβ specify the output encoding. default isutf8. π-r,--recursiveβ recursively compare subdirectories. we're going deep, we're going ALL the way down. π³οΈ-s,--report-identical-filesβ report when two files are the same. sometimes the tea is that there's no tea. π--show-all-spacesβ color all non-matching whitespace, including the whitespace that isn't even needed for drawing your eye to the changes. the manual says: slow, ugly, displays all changes. so like. you've been warned. π«--show-no-spacesβ don't color whitespace-only changes. quiet luxury. β¨--tabsize=TABSIZEβ tab stop spacing. yes the tabs matter. the tabs always matter. π-t,--truncateβ truncate long lines instead of wrapping them. sometimes you just gotta cut it off. βοΈ-u,--patchβ generate patch. and get this: this is always true, and it only exists for compatibility. it's a decorative option, bestie. it's doing nothing but looking pretty. π-U NUM,--unified=NUM,--numlines=NUMβ how many lines of context to print. can't be combined with--whole-file. pick your fighter. π₯-W,--whole-fileβ show the whole file instead of just changed lines and context. go big or go home. π-P,--permissionsβ compare the file permissions as well as the content of the file. yes, we're checking the vibes and the paperwork. π--strip-trailing-crβ strip any trailing carriage return at the end of an input line. bye bye\r, we will not miss you. π--color-map=COLOR_MAPβ choose which colors are used for which items. the default is:
--color-map='add:green_bold,change:yellow_bold,description:blue,line-numbers:white,meta:magenta,permissions:yellow,separator:blue,subtract:red_bold'
you don't have to override all of them, so you can just do a little touch-up like:
'--colormap=separator:white,description:cyan
β¨ custom palette, custom era. β¨
--is-git-diffβ show the real file name when displaying git-diff result. no more mystery meat filenames. π§-x PAT,--exclude=PATβ exclude files that matchPAT. not today, not ever, blocked. π«
π friendly reminder from your girl:--exclude-linesand--line-numbersare not compatible, and-U/--unified/--numlinescan't be combined with--whole-file. respect the boundaries bestie, they're there for a reason. π
and that's the whole page, bestie!! you ate this. go diff something beautiful. πΈπ
this was icdiff version 2.0.10, dated February 2026, brought to you by the User Commands section of the manual. mwah. π
π¦ where this page comes from
- ubuntu resolute: icdiff 2.0.10-1 Β· Python
- ubuntu stonking: icdiff 2.0.10-1 Β· Python
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms