Module Name:    othersrc
Committed By:   dyoung
Date:           Mon Aug 31 01:58:23 UTC 2015

Modified Files:
        othersrc/external/bsd/arfe/dt: README dt.c
        othersrc/external/bsd/arfe/it: README

Log Message:
In the READMEs, describe the hexadecimal data detection and functions.

Update $ARFE$ in dt.c.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/arfe/dt/README
cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/arfe/dt/dt.c
cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/arfe/it/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/arfe/dt/README
diff -u othersrc/external/bsd/arfe/dt/README:1.2 othersrc/external/bsd/arfe/dt/README:1.3
--- othersrc/external/bsd/arfe/dt/README:1.2	Sat Aug 22 05:08:48 2015
+++ othersrc/external/bsd/arfe/dt/README	Mon Aug 31 01:58:23 2015
@@ -1,10 +1,13 @@
-$ARFE: README 216 2015-08-22 05:04:28Z dyoung $
+$ARFE: README 225 2015-08-31 01:57:28Z dyoung $
+$NetBSD: README,v 1.3 2015/08/31 01:58:23 dyoung Exp $
 
 DT---(d)ifferentiate (t)ext---finds a longest common subsequence (LCS)
-of two texts where decimal numbers are "wild": a span of decimal digits
-in the first text will match a digits span in the second text.  Then it
-emits the LCS, replacing matched pairs of decimal numbers with their
-difference.
+of two texts where the numbers are "wild": a span of decimal digits in
+the first text will match any decimal-digits span in the second text.
+Currently, DT detects whole hexadecimal numbers (with and without an
+0x-prefix) and decimal numbers.  When DT emits the LCS, it replaces
+matched pairs of decimal numbers with their difference, and matched
+pairs of hexadecimal numbers with their bitwise-AND combination.
 
 DT arose from the author's desire to examine the rate of change of
 network statistics from several sources (ifconfig -va, netstat -s, a

Index: othersrc/external/bsd/arfe/dt/dt.c
diff -u othersrc/external/bsd/arfe/dt/dt.c:1.6 othersrc/external/bsd/arfe/dt/dt.c:1.7
--- othersrc/external/bsd/arfe/dt/dt.c:1.6	Fri Aug 28 21:44:43 2015
+++ othersrc/external/bsd/arfe/dt/dt.c	Mon Aug 31 01:58:23 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: dt.c,v 1.6 2015/08/28 21:44:43 dyoung Exp $ */
-/* $ARFE: dt.c 222 2015-08-28 21:39:42Z dyoung $ */
+/* $NetBSD: dt.c,v 1.7 2015/08/31 01:58:23 dyoung Exp $ */
+/* $ARFE: dt.c 224 2015-08-28 21:45:03Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <[email protected]>

Index: othersrc/external/bsd/arfe/it/README
diff -u othersrc/external/bsd/arfe/it/README:1.1 othersrc/external/bsd/arfe/it/README:1.2
--- othersrc/external/bsd/arfe/it/README:1.1	Mon Aug 10 21:10:59 2015
+++ othersrc/external/bsd/arfe/it/README	Mon Aug 31 01:58:23 2015
@@ -1,2 +1,3 @@
-IT---(i)ntegrate (t)ext---is a variation on DT that adds
-instead of subtracts.  See ../dt/README.
+IT---(i)ntegrate (t)ext---is a variation on DT that adds decimal numbers
+instead of subtracts, and bitwise-ORs hexadecimal numbers instead of
+bitwise-ANDing them.  See ../dt/README.

Reply via email to