aboutsummaryrefslogtreecommitdiff
path: root/textproc/wdiff/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/wdiff/pkg-descr')
-rw-r--r--textproc/wdiff/pkg-descr21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/wdiff/pkg-descr b/textproc/wdiff/pkg-descr
new file mode 100644
index 000000000000..bb21a23e2658
--- /dev/null
+++ b/textproc/wdiff/pkg-descr
@@ -0,0 +1,21 @@
+ << wdiff >>
+
+ From man page of wdiff:
+ wdiff compares two files, finding which words have been
+ deleted or added to old_file to get new_file. A word is
+ anything between whitespace. The output is collected and
+ used to produce an annotated copy of new_file on standard
+ output. Suitable annotations produce a nice display of
+ word differences between the original files.
+
+ Example:
+ text-a
+ I like FreeBSD.
+ text-b
+ I love FreeBSD.
+
+ % wdiff -n text-a text-b
+ I [-like-] {+love+} FreeBSD.
+
+- Yoshiro MIHIRA
+(sanpei@yy.cs.keio.ac.jp)