IMERGE(1)		FreeBSD General Commands Manual 	     IMERGE(1)

NAME
     imerge -- help merge one file to another interactively

SYNOPSIS
     imerge [-x diff_flags] [-X sdiff_flags] source destination

DESCRIPTION
     The imerge command is a utility to help merge one file to another inter-
     actively.

     If given files both exist and are identical, it silently exits without
     doing anything.

     If given files both exist and they differ, differences are shown using
     the diff(1) command and user is asked if the source file should be
     installed to the destination, they should be edited first, or the source
     file should be merged into the destination file interactively using the
     sdiff(1) command.

     If the source file is missing, user is asked if the destination file
     should be deleted.

     If the destination file is missing, user is asked if the source file
     should be installed to the destination.

     Currently symbolic links are not supported.  If either of given files is
     a symbolic link, no operation is performed.

OPTIONS
     The following command line arguments are supported:

     -x diff_flags   Set command line flags for diff(1) to diff_flags.	The
		     default value is ``-u''.

     -X sdiff_flags  Set extra command line flags for sdiff(1) to sdiff_flags.
		     The default value is ``-a -s''.

ENVIRONMENT
     EDITOR  Name of the editor program to run when user chooses to edit
	     files.

     PAGER   Name of the pager program to run when showing differences.

SEE ALSO
     diff(1), sdiff(1)

HISTORY
     The imerge utility was first released on 15 January, 2007.

     This utility was (obviously) inspired by the mergemaster utility of
     FreeBSD in hope of using part of its functionality stand-alone.

     The latest version of this script can be downloaded from a read-only sub-
     version repository available at the following URL:
	   http://svn.idaemons.org/repos/imerge/

     Typically you just want the trunk/ subdirectory out of the whole source
     tree including all the past release snapshots and so on.

AUTHORS
     Akinori MUSHA <knu@iDaemons.org>

			       Janunary 15, 2007