The aediff command is used to obtain the difference between versions of the given filename across different file versions, a specified by the command lien options.
If two changes or deltas are specified, the difference between the versions of the file in each will be output.
If only one change or delta is specified, the second version defaults to the current change.
If no changes or deltas are specified, the first version defaults to the baseline and the second version defaults to the current change.
To see the difference in the project configuration file,
aegis.conf, between deltas 1.2.D003 and 4.5.D067 the following
command may be used:
aediff aegis.conf -c 1.2.D003 -c 4.5.D067
To see the differences in the project configuration file, between the head of the 7.6 branch and the current change, the following command may be used:
aediff -branch 7.6 -bl aegis.conf
Many, many other combinatiosn are possible.
It is possible to use a graphical diff tool with the aediff(1)
command. This is done by using the -command option, or setting
AE2DIFF environment variable. For example, to use the
tkdiff(1) command to display the differences you would use a
command such as:
aediff --command=tkdiff filename
If you use this option, many of the diff(1)-specific options will be ignored.
The following options are understood:
This option may be used to specify that the project baseline is the subject of the command.
This option may be used to specify a particular change within a project. See aegis(1) for a complete description of this option.
This option may be used to set the command used to display differences.
Using this option will cause diff(1)-specific options to be
ignored. If not set, defaults to the value of the
environment variable, or "diff" otherwise.
-CONtext[ lines ]
Use the context output format, showing lines (an integer) lines of context, or three if lines is not given. For proper operation, patch(1) typically needs at least two lines of context.
This option may be used to specify a particular delta in the project's history to copy the file from, rather than the most current version. If the delta has been given a name (see aedn(1) for how) you may use a delta name instead of a delta number. It is an error if the delta specified does not exist. Delta numbers start from 1 and increase; delta 0 is a special case meaning “when the branch started”.
This option may be used to specify a particular date and time in the project's history to copy the file from, rather than the most current version. It is an error if the string specified cannot be interpreted as a valid date and time. Quote the string if you need to use spaces.
Ignore changes that just insert or delete blank lines.
Ignore white space when comparing lines.
Ignore changes in case; consider upper- and lower-case to be the same.
Ignore changes in amount of white space.
This option may be used to select the project of interest.
option is specified,
environment variable is consulted.
If that does not exist,
file is examined for a default project field (see
for more information).
If that does not exist,
when the user is only working on changes within a single project,
the project name defaults to that project.
it is an error.
Show which C function each change is in.
This option may be used to specify
the project trunk for the origin file,
rather than the baseline.
the -trunk option is the same as the “-branch -” option.)
-unified[ lines ]
Use the unified output format, showing lines (an integer) lines of context, or three if lines is not given. For proper operation, patch(1) typically needs at least two lines of context.
This option may be used to obtain more information about how to use the aegis program.
See also aegis(1) for options common to all aegis commands.
All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters.
All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important.
the arguments "-project, "-PROJ" and "-p" are
all interpreted to mean the
The argument "-prj" will not be understood,
because consecutive optional characters were not supplied.
Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors.
The GNU long option names are understood.
Since all option names for
this means ignoring the extra leading '-'.
option=value" convention is also understood.
The aediff command will exit with a status of 1 on any error. The aediff command will only exit with a status of 0 if there are no errors.
See aegis(1) for a list of environment variables which may affect
aepconf(5) for the project configuration file's
project_specific field for how to set environment variables for
all commands executed by Aegis.
aediff version 4.22 Copyright (C) 1991-2006 Peter Miller; All rights reserved.
The aediff program comes with ABSOLUTELY NO WARRANTY; for details use the 'aediff -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'aediff -VERSion License' command.