gdiffmk(1)


NAME

SYNOPSIS

   gdiffmk [ -aaddmark ] [ -cchangemark ] [ -ddeletemark ] [ -D [ -B ]
           [ -Mmark1 mark2 ] ] [ -xdiffcmd ] [ -- ] [ --help ]
           [ --version ] file1 file2 [ output ]

DESCRIPTION

   gdiffmk  compares  two groff(1), nroff(1), or troff(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
   packages and all preprocessors.  See the BUGS section below.

OPTIONS

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

   -B     By  default,  the deleted texts marked by the -D option end with
          an added troff break command, .br, 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 -D.

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

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

   -D     Show  the  deleted  portions  from  changed  and  deleted  text.
          Default delimiting marks: [[ ... ]].

   -Mmark1 mark2
          Change  the  delimiting  marks  for  the -D option.  It makes no
          sense to use this option without -D.

   -xdiffcmd
          Use the diffcmd command to perform the comparison of  file1  and
          file2.  In particular, diffcmd should accept the GNU diff -Dname
          option.  Default: diff(1).

   --     All the following arguments are treated as file names,  even  if
          they begin with -.

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

   --version
          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
   preprocessor  problems  is  to  run  gdiffmk  on  the output of all the
   preprocessors instead of the input source.

   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.

COPYRIGHT

   Copyright  2004-2014 Free Software Foundation, Inc.

   This file is part of the gdiffmk utility, which is  part  of  groff,  a
   free software project.

   You  can  redistribute and/or modify gdiffmk 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.

   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 this program.  If not, see <http://www.gnu.org/licenses/>.

AUTHORS

   This document was written and is maintained by Mike Bianchi

SEE ALSO

   groff(1), nroff(1), gtroff(1), diff(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.