Manual Pages for UNIX Darwin command on man gdiffmk
MyWebUniversity

Manual Pages for UNIX Darwin command on man gdiffmk

GDIFFMK(1) GDIFFMK(1)

NAME

gdiffmk - mark differences between groff/nroff/troff files

SYNOPSIS

ggddiiffffmmkk [ -aaaddmark ] [ -ccchangemark ] [ -dddeletemark ] [ -DD [ -BB ]

[ -MMmark1 mark2 ] ] [ -xxdiffcmd ] [ -- ] [ --hheellpp ]

[ --vveerrssiioonn ] file1 file2 [ output ]

DESCRIPTION

ggddiiffffmmkk compares two ggrrooffff(1), nnrrooffff(1), or ttrrooffff(1) documents, file1 and file2, and creates an output which is file2 with added `margin character' (.mc) commands that indicate the differences. If the output filename is present, the output is written there. If it

is - or absent the output is written to the standard output.

If the file1 or file2 argument is - the standard input is read for that

input. Clearly both cannot be -.

Note that the output is not necessarily compatible with all macro pack-

gs n al rpoesr. e te BUGS eto blw

OOPPTTIIOONNSS

-aaaddmark

Use the addmark for source lines not in file1 but present in file2. Default: ++.

-BB By default, the deleted texts marked by the -DD option end with

an added troff break command, ..bbrr, to ensure that the deletions are marked properly. This is the only way to guarantee that deletions and small changes get flagged. This option directs the program not to insert these breaks; it makes no sense to use

it without -DD.

-ccchangemark

Use the changemark for changed source lines. Default: ||.

-dddeletemark

Use the deletemark for deleted source lines. Default: **.

-DD Show the deleted portions from changed and deleted text.

Default delimiting marks: [[[[ .... ]]]].

-MMmark1 mark2

Change the delimiting marks for the -DD option. It makes no

sense to use this option without -DD.

-xxdiffcmd

Use the diffcmd command to perform the comparison of file1 and

file2. In particular, diffcmd should accept the GNU ddiiffff -DDname

option. Default: ddiiffff(1).

-- All the following arguments are treated as file names, even if

they begin with -.

--hheellpp Print a usage message on standard error output and exit.

--vveerrssiioonn

Print version information on the standard output and exit.

BUGS

The output is not necessarily compatible with all macro packages and

all preprocessors. A workaround that is often successful against pre-

processor problems is to run ggddiiffffmmkk on the output of all the pre-

processors instead of the input source.

ggddiiffffmmkk relies on the -DDname option of GNU ddiiffff(1) to make a merged

`#ifdef' output format. It hasn't been tested whether other versions

of ddiiffff(1) do support this option. See also the -xxdiffcmd option.

Report bugs to bug-groff@gnu.org. Include a complete, self-contained

example that will allow the bug to be reproduced, and say which version of ggddiiffffmmkk you are using. AUTHORS This document was written and is maintained by MMiikkee BBiiaanncchhii .

This document is distributed under the terms of the FDL (GNU Free Docu-

mentation License) version 1.1 or later. You should have received a

copy of the FDL on your system, it is also available on-line at the GGNNUU

ccooppyylleefftt ssiittee . ggddiiffffmmkk is part of the groff GNU free software project. All parts of the groff package are protected by GNU copyleft licenses. The software files are distributed under the terms of the GNU General Public License

(GPL), while the documentation files mostly use the GNU Free Documenta-

tion License (FDL). COPYRIGHT Copyright (C) 2004, 2005 Free Software Foundation, Inc. ggddiiffffmmkk 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. ggddiiffffmmkk 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 file COPYING. If not, write to the Free Software

Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.

SEE ALSO

ggrrooffff(1), nnrrooffff(1), ggttrrooffff(1), ddiiffff(1) Groff Version 1.19.2 26 May 2005 GDIFFMK(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™