PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/contrib/gdiffmk/README

https://bitbucket.org/freebsd/freebsd-head/
#! | 46 lines | 33 code | 13 blank | 0 comment | 0 complexity | b70b8e62f0f152087cbbe2758eab19c0 MD5 | raw file
 1gdiffmk is approximately a recreation of the original Bell Labs/AT&T diffmk
 2command for troff/nroff documents, with enhancements.
 3
 4It should not be confused with `diffmk' commands that operate on XML.
 5
 6The inspiration for this code was a Perl 2 version written in 1989 by Randal
 7L. Schwartz.  See
 8  landfield.com/software/comp.sources.misc/archive-name/volume06/diffmk.p.gz
 9
10The command also attempts to reproduce some of the functionality of the old
11`nrchbar' command.  See
12  open-systems.ufl.edu/mirrors/ftp.isc.org/usenet/comp.sources.unix/volume10/nrchbar.Z
13
14Thanks to Werner Lemberg for help in making the package more portable and
15fit into the GNU groff source structure.
16
17Gnu diff(1) with the -Dname option does all of the work and sed(1)
18translates the output into something groff/troff/nroff can handle.
19
20Note the BUGS on the man page.
21
22The `tests' directory contains simple tests.  `runtests run' runs them and
23compares the output against baseline files.  Calling `runtests' without
24argument gives the usage.
25
26----------------------------------------------------------------------------
27
28Copyright (C) 2004, 2005 Free Software Foundation, Inc.
29Written by Mike Bianchi <MBianchi@Foveal.com <mailto:MBianchi@Foveal.com>>
30
31This file is part of the gdiffmk utility, which is part of groff.
32
33groff is free software; you can redistribute it and/or modify it
34under the terms of the GNU General Public License as published by
35the Free Software Foundation; either version 2, or (at your option)
36any later version.
37
38groff is distributed in the hope that it will be useful, but WITHOUT
39ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
40or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
41License for more details.
42
43You should have received a copy of the GNU General Public License
44along with groff; see the files COPYING and LICENSE in the top
45directory of the groff source.  If not, write to the Free Software
46Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.