From 83a6501a1143583e902e5fb6676d95767b7e2231 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 15 Mar 2024 04:48:56 +0100 Subject: [PATCH] wdiff: add page (#12507) --- pages/common/wdiff.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/wdiff.md diff --git a/pages/common/wdiff.md b/pages/common/wdiff.md new file mode 100644 index 000000000..d90a38ef8 --- /dev/null +++ b/pages/common/wdiff.md @@ -0,0 +1,16 @@ +# wdiff + +> Display word differences between text files. +> More information: . + +- Compare two files: + +`wdiff {{path/to/file1}} {{path/to/file2}}` + +- Ignore case when comparing: + +`wdiff --ignore-case {{path/to/file1}} {{path/to/file2}}` + +- Display how many words are deleted, inserted or replaced: + +`wdiff --statistics {{path/to/file1}} {{path/to/file2}}`