OnWorks favicon

gdiffmk - Online in the Cloud

Run gdiffmk in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gdiffmk that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator




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


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.


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.

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

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.

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.

Print version information on the standard output and exit.

Use gdiffmk online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands