NAME

inidiff - generate the differences between two dos/windows .ini files


SYNOPSYS

inidiff [-q] [-V] file1 file2


DESCRIPTION

inidiff reads the two specified dos or windows .ini files and prints the differences between the two. The output is suitable for use with the iniedit program. Either of file1 or file2 may be ``-'', indicating standard input should be read.

The output consists of key names in brackets followed by the fields that have been added or changed in that key. Keys are separated by blank lines. Deleted keys are indicated by a minus at the end of the line containing the key name, while deleted fields are indicated by a minus after the field name (there is no equals or value after the field name). New keys and fields are preceded by comments indicating they are new. Changed fields are preceded by comments indicating the previous value of the field.

All output lines end in a carriage return.

See the iniedit manpage for information about the format of .ini files and .ini patch files.


OPTIONS

-q

Suppresses the generation of comments indicating new keys and fields, and previous values of existing and deleted fields.

-V

prints the version number - the program then exits immediately.


BUGS

The only (known) problem with inidiff (and patch files) is that they don't handle changes to keys which have multiple fields with the same name. This kind of thing doesn't seem too common, so it hasn't been a problem.


SEE ALSO

the iniedit manpage.


AUTHOR

Michael Rendell, Memorial University of Newfoundland (michael@cs.mun.ca)