DOCDIFF(1)
π DOCDIFF(1) π
okay bestie, welcome to the General Commands Manual page for docdiff β yes, that's the manual section 1, we're in command-line-tool territory, and honestly? it's giving β¨utilityβ¨
πΈ NAME πΈ
docdiff β character/word-oriented diff π¦
π SYNOPSIS π
docdiff [options] file1 file2
like, two files, some options, and we're off π
π DESCRIPTION π
so this manual page documents briefly the docdiff commands. short and sweet, we love that for us.
real talk though: this manual page was written for the Debian distribution because the original program does not have a manual page π instead, it has documentation in the HTML format β see below in SEE ALSO, i got you.
docdiff is a program that compares two files and shows the difference. it can compare files word by word, char by char, or line by line π₯ it has several output formats such as HTML/XHTML, tty, Manued, or user-defined markup. yes, user-defined β main character energy, honestly.
it supports several encodings and end-of-line characters, including ASCII, UTF-8, EUC-JP, Shift_JIS, CR, LF, and CRLF. the range? immaculate. the vibe? worldwide π
β¨ OPTIONS β¨
--resolution=RESOLUTIONβ specify resolution (granularity)line|word|char(default isword). you're literally choosing how zoomed-in the comparison is, periodt.--lineβ set resolution toline--wordβ set resolution toword--charβ set resolution tochar--encoding=ENCODINGβ specify character encodingASCII|EUC-JP|Shift_JIS|UTF-8|auto(default isauto). she's multilingual, she's unbothered π--asciiβ same as--encoding=ASCII--eucjpβ same as--encoding=EUC-JP--sjisβ same as--encoding=Shift_JIS--utf8β same as--encoding=UTF-8--eol=EOLβ specify end-of-line characterCR|LF|CRLF|auto(default isauto). yes we're doing line endings discourse, bestie, it matters π€--crβ same as--eol=CR--lfβ same as--eol=LF--crlfβ same as--eol=CRLF--format=FORMATβ specify output formattty|manued|html|wdiff|user(default ishtml; user tags have to be described in config file). ok but theuserone?? you gotta write your own tags in a config file first, iykyk π--ttyβ same as--format=tty--manuedβ same as--format=manued--htmlβ same as--format=html--wdiffβ same as--format=wdiff--digestβ digest output, do not show all. keep it snack-sized π--cacheβ use file cache--no-config-fileβ do not read config files--verboseβ run verbosely (she will NOT stop talking and we respect it π)--helpβ show usage--versionβ show version--licenseβ show license--authorβ show author(s)
reminder bestie: every one of these is exactly what the page says, no cap. don't go inventing extra flags, the tool will simply not know her π
π¦ SEE ALSO π¦
/usr/share/doc/docdiff/readme.html.
that's the HTML documentation mentioned up top β go read it, it's the real one π
π AUTHOR π
this manual page was written by akira yamada akira@debian.org for the Debian system (but may be used by others). thank you akira, absolute icon π«Ά
ok that's the whole page, bestie!! you made it to the bottom, slay π this was DOCDIFF(1) from the General Commands Manual β the source is that very manual, and the date is the one stamped on this page's footer. now go diff something and feel iconic π
β¨πΈ
π¦ where this page comes from
- debian bookworm: docdiff 0.6.0-2 Β· BSD-3-Clause
- debian trixie: docdiff 0.6.1-1 Β· BSD-3-Clause
- ubuntu jammy: docdiff 0.6.0-1 Β· BSD-3-Clause
- ubuntu noble: docdiff 0.6.0-2 Β· BSD-3-Clause
- ubuntu questing: docdiff 0.6.1-1
- ubuntu resolute: docdiff 0.6.1-2 Β· BSD-3-Clause
- ubuntu stonking: docdiff 0.6.1-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms