Module Name:    othersrc
Committed By:   dyoung
Date:           Thu Dec  3 03:29:02 UTC 2015

Modified Files:
        othersrc/external/bsd/arfe: README
        othersrc/external/bsd/arfe/dt: README core.c core.h dec.c dec.h dt.c
            hex.c hex.h ipv4.c ipv4.h macaddr.c macaddr.h portability.h
        othersrc/external/bsd/arfe/it: README
        othersrc/external/bsd/arfe/tt: README

Log Message:
Bring READMEs up to date.  Update $ARFE$.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/arfe/README
cvs rdiff -u -r1.11 -r1.12 othersrc/external/bsd/arfe/dt/README
cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/arfe/dt/core.c \
    othersrc/external/bsd/arfe/dt/core.h
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/arfe/dt/dec.c \
    othersrc/external/bsd/arfe/dt/dec.h \
    othersrc/external/bsd/arfe/dt/macaddr.h
cvs rdiff -u -r1.15 -r1.16 othersrc/external/bsd/arfe/dt/dt.c
cvs rdiff -u -r1.7 -r1.8 othersrc/external/bsd/arfe/dt/hex.c \
    othersrc/external/bsd/arfe/dt/hex.h othersrc/external/bsd/arfe/dt/ipv4.c \
    othersrc/external/bsd/arfe/dt/ipv4.h
cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/arfe/dt/macaddr.c
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/arfe/dt/portability.h
cvs rdiff -u -r1.9 -r1.10 othersrc/external/bsd/arfe/it/README
cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/arfe/tt/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/README
diff -u othersrc/external/bsd/arfe/README:1.2 othersrc/external/bsd/arfe/README:1.3
--- othersrc/external/bsd/arfe/README:1.2	Sat Aug 22 05:08:48 2015
+++ othersrc/external/bsd/arfe/README	Thu Dec  3 03:29:01 2015
@@ -1,4 +1,5 @@
-$ARFE: README 216 2015-08-22 05:04:28Z dyoung $
+$ARFE: README 305 2015-12-03 03:28:28Z dyoung $
+$NetBSD: README,v 1.3 2015/12/03 03:29:01 dyoung Exp $
 
 ARFE is a suite of tools for processing record- and field-oriented
 digital texts.  ARFE strives to make a useful set of automatic
@@ -24,13 +25,23 @@ an invoice, an address book, an email in
 transcript, and the state of all network interfaces on a UNIX system
 (ifconfig -a).
 
-Today, there are just two ARFE programs, DT---(d)ifferentiate
-(t)ext---and IT---(i)ntegrate (t)ext.  DT 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.  IT is a variation on DT that adds
-instead of subtracts.
+Today, there are three ARFE programs, DT---(d)ifferentiate (t)ext,
+IT---(i)ntegrate (t)ext, and TT---(t)ransform (t)ext.
+
+DT finds a longest common subsequence (LCS) of two texts where decimal
+numbers (and other sequences) 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.  Read more about DT at dt/README.
+
+IT is a variation on DT that adds instead of subtracts.  Read more about
+IT at it/README.
+
+TT aligns its input with a first template, called the match template,
+locating data in the input in that way; it copies the data to a second
+template, the transform template.  Correspondences between data items in
+the match template and the transform template tell TT what data to copy
+where.  Read more about TT at tt/README.
 
 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/README
diff -u othersrc/external/bsd/arfe/dt/README:1.11 othersrc/external/bsd/arfe/dt/README:1.12
--- othersrc/external/bsd/arfe/dt/README:1.11	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/README	Thu Dec  3 03:29:01 2015
@@ -1,16 +1,19 @@
-$ARFE: README 264 2015-10-08 22:28:01Z dyoung $
-$NetBSD: README,v 1.11 2015/12/02 23:39:51 dyoung Exp $
+$ARFE: README 303 2015-12-03 03:26:34Z dyoung $
+$NetBSD: README,v 1.12 2015/12/03 03:29:01 dyoung Exp $
 
 DT---(d)ifferentiate (t)ext---finds a longest common subsequence (LCS)
-of two texts where the numbers and IPv4 addresses are "wild": a span
-of decimal digits in the first text will match any decimal-digits span
-in the second text.  An IPv4 number in the first text will likewise
-match any IPv4 number in the second text.  Currently, DT detects whole
+of two texts where the numbers, "symbols" starting with a letter or
+underscore followed by zero or more letters, numbers, or underscores,
+and IPv4 addresses are "wild": a span of decimal digits in the first
+text will match any decimal-digits span in the second text.  An IPv4
+number in the first text will likewise match any IPv4 number in the
+second text.  Symbols match symbols.  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 replaces matched pairs of IP numbers with
-the smallest subnet that contains both.
+the smallest subnet that contains both.  DT copies the first symbol in a
+matched pair to its output.
 
 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/core.c
diff -u othersrc/external/bsd/arfe/dt/core.c:1.4 othersrc/external/bsd/arfe/dt/core.c:1.5
--- othersrc/external/bsd/arfe/dt/core.c:1.4	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/core.c	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: core.c,v 1.4 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: core.c 297 2015-12-02 23:16:23Z dyoung $ */
+/* $NetBSD: core.c,v 1.5 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: core.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>
Index: othersrc/external/bsd/arfe/dt/core.h
diff -u othersrc/external/bsd/arfe/dt/core.h:1.4 othersrc/external/bsd/arfe/dt/core.h:1.5
--- othersrc/external/bsd/arfe/dt/core.h:1.4	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/core.h	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: core.h,v 1.4 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: core.h 297 2015-12-02 23:16:23Z dyoung $ */
+/* $NetBSD: core.h,v 1.5 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: core.h 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>

Index: othersrc/external/bsd/arfe/dt/dec.c
diff -u othersrc/external/bsd/arfe/dt/dec.c:1.2 othersrc/external/bsd/arfe/dt/dec.c:1.3
--- othersrc/external/bsd/arfe/dt/dec.c:1.2	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/dec.c	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: dec.c,v 1.2 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: dec.c 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: dec.c,v 1.3 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: dec.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>
Index: othersrc/external/bsd/arfe/dt/dec.h
diff -u othersrc/external/bsd/arfe/dt/dec.h:1.2 othersrc/external/bsd/arfe/dt/dec.h:1.3
--- othersrc/external/bsd/arfe/dt/dec.h:1.2	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/dec.h	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: dec.h,v 1.2 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: dec.h 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: dec.h,v 1.3 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: dec.h 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>
Index: othersrc/external/bsd/arfe/dt/macaddr.h
diff -u othersrc/external/bsd/arfe/dt/macaddr.h:1.2 othersrc/external/bsd/arfe/dt/macaddr.h:1.3
--- othersrc/external/bsd/arfe/dt/macaddr.h:1.2	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/macaddr.h	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: macaddr.h,v 1.2 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: macaddr.h 286 2015-11-18 05:09:15Z dyoung $ */
+/* $NetBSD: macaddr.h,v 1.3 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: macaddr.h 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>

Index: othersrc/external/bsd/arfe/dt/dt.c
diff -u othersrc/external/bsd/arfe/dt/dt.c:1.15 othersrc/external/bsd/arfe/dt/dt.c:1.16
--- othersrc/external/bsd/arfe/dt/dt.c:1.15	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/dt.c	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: dt.c,v 1.15 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: dt.c 289 2015-11-19 23:51:04Z dyoung $ */
+/* $NetBSD: dt.c,v 1.16 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: dt.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>

Index: othersrc/external/bsd/arfe/dt/hex.c
diff -u othersrc/external/bsd/arfe/dt/hex.c:1.7 othersrc/external/bsd/arfe/dt/hex.c:1.8
--- othersrc/external/bsd/arfe/dt/hex.c:1.7	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/hex.c	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: hex.c,v 1.7 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: hex.c 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: hex.c,v 1.8 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: hex.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>
Index: othersrc/external/bsd/arfe/dt/hex.h
diff -u othersrc/external/bsd/arfe/dt/hex.h:1.7 othersrc/external/bsd/arfe/dt/hex.h:1.8
--- othersrc/external/bsd/arfe/dt/hex.h:1.7	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/hex.h	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: hex.h,v 1.7 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: hex.h 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: hex.h,v 1.8 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: hex.h 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>
Index: othersrc/external/bsd/arfe/dt/ipv4.c
diff -u othersrc/external/bsd/arfe/dt/ipv4.c:1.7 othersrc/external/bsd/arfe/dt/ipv4.c:1.8
--- othersrc/external/bsd/arfe/dt/ipv4.c:1.7	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/ipv4.c	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: ipv4.c,v 1.7 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: ipv4.c 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: ipv4.c,v 1.8 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: ipv4.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>
Index: othersrc/external/bsd/arfe/dt/ipv4.h
diff -u othersrc/external/bsd/arfe/dt/ipv4.h:1.7 othersrc/external/bsd/arfe/dt/ipv4.h:1.8
--- othersrc/external/bsd/arfe/dt/ipv4.h:1.7	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/ipv4.h	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: ipv4.h,v 1.7 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: ipv4.h 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: ipv4.h,v 1.8 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: ipv4.h 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>

Index: othersrc/external/bsd/arfe/dt/macaddr.c
diff -u othersrc/external/bsd/arfe/dt/macaddr.c:1.5 othersrc/external/bsd/arfe/dt/macaddr.c:1.6
--- othersrc/external/bsd/arfe/dt/macaddr.c:1.5	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/macaddr.c	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: macaddr.c,v 1.5 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: macaddr.c 264 2015-10-08 22:28:01Z dyoung $ */
+/* $NetBSD: macaddr.c,v 1.6 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: macaddr.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
  * Copyright (c) 2014,2015 David Young <dyo...@netbsd.org>

Index: othersrc/external/bsd/arfe/dt/portability.h
diff -u othersrc/external/bsd/arfe/dt/portability.h:1.3 othersrc/external/bsd/arfe/dt/portability.h:1.4
--- othersrc/external/bsd/arfe/dt/portability.h:1.3	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/dt/portability.h	Thu Dec  3 03:29:01 2015
@@ -1,5 +1,5 @@
-/* $NetBSD: portability.h,v 1.3 2015/12/02 23:39:51 dyoung Exp $ */
-/* $ARFE: portability.h 281 2015-11-18 04:49:11Z dyoung $ */
+/* $NetBSD: portability.h,v 1.4 2015/12/03 03:29:01 dyoung Exp $ */
+/* $ARFE: portability.h 302 2015-12-02 23:44:24Z dyoung $ */
 
 #ifndef __NetBSD__
 #define __noinline	/* */

Index: othersrc/external/bsd/arfe/it/README
diff -u othersrc/external/bsd/arfe/it/README:1.9 othersrc/external/bsd/arfe/it/README:1.10
--- othersrc/external/bsd/arfe/it/README:1.9	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/it/README	Thu Dec  3 03:29:01 2015
@@ -1,6 +1,6 @@
-$ARFE: README 264 2015-10-08 22:28:01Z dyoung $
-$NetBSD: README,v 1.9 2015/12/02 23:39:51 dyoung Exp $
+$ARFE: README 304 2015-12-03 03:27:26Z dyoung $
+$NetBSD: README,v 1.10 2015/12/03 03:29:01 dyoung Exp $
 
 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.
+bitwise-ANDing them.  See ../dt/README and ../README.

Index: othersrc/external/bsd/arfe/tt/README
diff -u othersrc/external/bsd/arfe/tt/README:1.6 othersrc/external/bsd/arfe/tt/README:1.7
--- othersrc/external/bsd/arfe/tt/README:1.6	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/tt/README	Thu Dec  3 03:29:02 2015
@@ -1,5 +1,5 @@
-$ARFE: README 264 2015-10-08 22:28:01Z dyoung $
-$NetBSD: README,v 1.6 2015/12/02 23:39:51 dyoung Exp $
+$ARFE: README 304 2015-12-03 03:27:26Z dyoung $
+$NetBSD: README,v 1.7 2015/12/03 03:29:02 dyoung Exp $
 
 TT---(t)ransform (t)ext---transforms its input based on a
 match/transform-template pair that exemplifies the changes that should
@@ -30,4 +30,4 @@ input       match template   transform t
 6 53 10     21 22 23         12 22 32              9 53 8
 1  8 40     31 32 33         13 23 33              99 10 40
 
-See also ../dt/README.
+See also ../dt/README and ../README.

Reply via email to