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}}`