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 packages and all preprocessors. See the BUGS section below.
gdiffmk relies on the -Dname option of GNU diff(1) to make a merged `#ifdef' output format. It hasn't been tested whether other versions of diff(1) do support this option. See also the -xdiffcmd 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 gdiffmk you are using.
This document is distributed under the terms of the FDL (GNU Free
Documentation 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
GNU copyleft site
gdiffmk
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 Documentation License (FDL).
gdiffmk
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.
gdiffmk
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.
COPYRIGHT
Copyright © 2004, 2005 Free Software Foundation, Inc.
SEE ALSO
groff(1)
nroff(1)
gtroff(1)
diff(1)