Guide and technical reference
How to use
Position mode compares rows with the same index; presence mode converts non-empty lines to sets, so it ignores order and duplicate counts.
- Choose position or presence mode.
- Paste original and changed text.
- Read unchanged, removed, and added markers.
Examples
- Input
a b- Output
a x b
Position mode marks b removed and x plus b added after a leading insertion shifts rows.
- Input
a a- Output
a
Presence mode treats duplicates as one value.
- Input
a b- Output
b a
Presence mode ignores blank rows and order.
Understanding the result
A leading space is unchanged, - is removed, and + is added.
The result is a direct comparison, not a minimal patch.
Common errors and limitations
- Position mode can show many changes after one inserted row.
- Presence mode loses order, blank lines, and multiplicity.
- Processing is local.
Frequently asked questions
- Is this the same as git diff?
- No. It does not compute an LCS or patch hunks.
- Which mode finds missing configuration lines?
- Presence mode is useful when order and duplicates do not matter.