date: 2018/10/12 17:59:32
- user: stefan
- file: DiffListUtility.st directory: libtool
- module: stx stc-classLibrary: libtool
- cg (cg@CG-PC)
a utility to encapsulate access to the diff command
(may also be a facade to a smalltalk-diff algorithm, eventually)
return the diff-command (with argument placeHolders).
By default, diff is used with windows, diff -b with Unix.
You can change this via the diffCommandTemplate
set the diff-command template
saveForDiff: text on: stream
i := line indexOf:Character return.
diffListFor: text1 and: text2
execute DiffCommand to get a list of diffs.