WDIFF(1)
๐ WDIFF ๐
okay so bestie, we're looking at wdiff, and it lives in section 1 of the manual โ that's User Commands, the section where all the stuff you actually run from your shell hangs out. buckle up, it's giving word-diff realness ๐
๐ธ NAME ๐ธ
wdiff โ display word differences between text files
โจ SYNOPSIS โจ
wdiff [OPTION]... FILE1 FILE2
wdiff -d [OPTION]... [FILE]
๐ฆ DESCRIPTION ๐ฆ
wdiff โ compares words in two files and report differences. literally its whole personality ๐ซถ
mandatory arguments to long options are mandatory for short options too. (yes bestie, if it's required for the long one, it's required for the short one. no skipping.)
-C,--copyrightโ display copyright then exit-1,--no-deletedโ inhibit output of deleted words-2,--no-insertedโ inhibit output of inserted words-3,--no-commonโ inhibit output of common words-a,--auto-pagerโ automatically calls a pager-d,--diff-inputโ use single unified diff as input-h,--helpโ display this help then exit-i,--ignore-caseโ fold character case while comparing-l,--less-modeโ variation of printer mode for"less"-n,--avoid-wrapsโ do not extend fields through newlines-p,--printerโ overstrike as for printers-s,--statisticsโ say how many words deleted, inserted etc.-t,--terminalโ use termcap as for terminal displays-v,--versionโ display program version then exit-w,--start-delete=STRINGโ string to mark beginning of delete region-x,--end-delete=STRINGโ string to mark end of delete region-y,--start-insert=STRINGโ string to mark beginning of insert region-z,--end-insert=STRINGโ string to mark end of insert region
๐ COMPATIBILITY ๐
some options that used to provide some unique functionality are no longer recommended, but still recognized for the sake of backwards compatibility. (elder options. we respect them. we just don't recommend them anymore ๐)
-K,--no-init-termโ now synonymous to--terminal, which never initializes the terminal.
๐ AUTHOR ๐
Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.
๐ญ REPORTING BUGS ๐ญ
Report bugs to <wdiff-bugs@gnu.org>.
๐ COPYRIGHT ๐
Copyright ยฉ 1992, 1997, 1998, 1999, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bestie this is the part where they yell NO WARRANTY in all caps and they mean it fr fr ๐ค
๐ SEE ALSO ๐
The full documentation for wdiff is maintained as a Texinfo manual. If the info and wdiff programs are properly installed at your site, the command
info wdiff
should give you access to the complete manual.
and that's the whole page, bestie โจ you're now officially fluent in wdiff. this was wdiff 1.2.2, dated April 2014 โ iconic behavior from a manual that has been serving word-diff realness since forever ๐ periodt ๐
๐ฆ where this page comes from
- arch rolling: wdiff 1.2.2-5 ยท GPL3
- debian bookworm: wdiff 1.2.2-5
- debian trixie: wdiff 1.2.2-9
- nixos 26.05: wdiff 1.2.2
- opensuse-leap 16.0: wdiff 1.2.2-160000.2.2 ยท GPL-3.0-or-later
- opensuse-leap 16.0: wdiff 1.2.2-160000.2.2 ยท GPL-3.0-or-later
- opensuse-leap 16.0: wdiff 1.2.2-160000.2.2 ยท GPL-3.0-or-later
- opensuse-leap 16.0: wdiff 1.2.2-160000.2.2 ยท GPL-3.0-or-later
- ubuntu jammy: wdiff 1.2.2-2build3
- ubuntu noble: wdiff 1.2.2-6build1
- ubuntu questing: wdiff 1.2.2-9
- ubuntu resolute: wdiff 1.2.2-9build1
- ubuntu stonking: wdiff 1.2.2-9build1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms