head	1.7;
access;
symbols
	groff-1_20_1_real:1.7
	groff-1_20_1:1.7
	groff-1_20:1.7
	groff-1_19_2:1.5;
locks; strict;
comment	@# @;


1.7
date	2009.01.05.20.10.37;	author wl;	state Exp;
branches;
next	1.6;
commitid	LOYcfESGVCXMFixt;

1.6
date	2009.01.04.14.50.55;	author wl;	state Exp;
branches;
next	1.5;
commitid	RfDBP1nYqohhW8xt;

1.5
date	2005.05.26.21.01.57;	author wl;	state Exp;
branches;
next	1.4;

1.4
date	2005.01.16.01.43.21;	author wl;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.16.22.02.21;	author wl;	state Exp;
branches;
next	1.2;

1.2
date	2004.12.15.06.04.48;	author wl;	state Exp;
branches;
next	1.1;

1.1
date	2004.12.12.20.06.55;	author wl;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Update copyright year.
@
text
@gdiffmk is approximately a recreation of the original Bell Labs/AT&T diffmk
command for troff/nroff documents, with enhancements.

It should not be confused with `diffmk' commands that operate on XML.

The inspiration for this code was a Perl 2 version written in 1989 by Randal
L. Schwartz.  See
  landfield.com/software/comp.sources.misc/archive-name/volume06/diffmk.p.gz

The command also attempts to reproduce some of the functionality of the old
`nrchbar' command.  See
  open-systems.ufl.edu/mirrors/ftp.isc.org/usenet/comp.sources.unix/volume10/nrchbar.Z

Thanks to Werner Lemberg for help in making the package more portable and
fit into the GNU groff source structure.

Gnu diff(1) with the -Dname option does all of the work and sed(1)
translates the output into something groff/troff/nroff can handle.

Note the BUGS on the man page.

The `tests' directory contains simple tests.  `runtests run' runs them and
compares the output against baseline files.  Calling `runtests' without
argument gives the usage.

----------------------------------------------------------------------------

Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc.
Written by Mike Bianchi <MBianchi@@Foveal.com <mailto:MBianchi@@Foveal.com>>

This file is part of the gdiffmk utility, which is part of groff.

groff is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
License for more details.

You should have received a copy of the GNU General Public License
along with groff; see the files COPYING and LICENSE in the top
directory of the groff source.  If not, write to the Free Software
Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
@


1.6
log
@

* */*: Update GPL2 to GPL3.
@
text
@d28 1
a28 1
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
@


1.5
log
@

* All affected files: Update postal address of FSF.
@
text
@d35 2
a36 2
the Free Software Foundation; either version 2, or (at your option)
any later version.
@


1.4
log
@

* gdiffmk.sh: Add the -D, -M, and -B options, which provide actions
akin to nrchbar.
Thanks to Larry Kollar (http://home.alltel.net/kollar/groff/).

* gdiffmk.man: Updated.

* tests/runtests.in: Added tests for gdiffmk's -D, -M, and -B
options.

* tests/baseline8, tests/baseline9, tests/baseline10: New files.
@
text
@d46 1
a46 1
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@


1.3
log
@

* tests/tests.sh: Renamed to...
* tests/runtests.sh: This.
* README: Updated.
@
text
@d4 1
a4 1
It should not be confused with diffmk commands that operate on XML.
a7 1
	
d10 4
d28 1
a28 1
Copyright (C) 2004 Free Software Foundation, Inc.
@


1.2
log
@

* gdiffmk.sh: Make sed pattern work with alternate result of GNU
diff's -D option, using `!' instead of `not' in #endif comments.
(Exit): Use prefix for each emitted message line.

* tests/*: New files for testing gdiffmk.

* README, gdiffmk.man, gdiffmk.sh: Updated.
Minor fixes.
@
text
@d19 2
a20 2
The `tests' directory contains simple tests.  `tests.sh run' runs them and
compares the output against baseline files.  Calling `tests.sh' without
@


1.1
log
@

* README: New file.
@
text
@d6 2
a7 3
The inspiration for this code was a Perl 2 version written in 1989 by Randal L.
Schwartz.  Thanks to Werner Lemberg for help in making the package more
portable and fit into the GNU groff source structure.
d9 1
a9 1
http://www.landfield.com/software/comp.sources.misc/archive-name/volume06/diffmk.p.gz
d11 5
a15 2
Gnu diff(1) with the -Dname option does all of the work and sed(1) translates
the output into something groff/troff/nroff can handle.
d19 25
a43 21
$Header: /HOME/mbianchi/src/diffmk/RCS/README,v 6.1 2004/12/11 15:54:29 mbianchi Exp $

# Copyright (C) 2004 Free Software Foundation, Inc.
# Written by Mike Bianchi <MBianchi@@Foveal.com <mailto:MBianchi@@Foveal.com>>

# This file is part of the gdiffmk utility, which is part of groff.

# groff is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# groff is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
# License for more details.

# You should have received a copy of the GNU General Public License
# along with groff; see the files COPYING and LICENSE in the top
# directory of the groff source.  If not, write to the Free Software
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@

