date: 2018/05/22 16:28:55
- 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 as: filename
i := line indexOf:Character return.
diffListFor: text1 and: text2
execute DiffCommand to get a list of diffs.