You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
README.md | 6 months ago | |
main.slo | 6 months ago | |
module.json | 6 months ago |
README.md
diff
A simple diff module with one exposed procedure: diff
.
Example Usage
(load-mod diff)
; Output diff to stdout, showing all lines (including unchanged ones)
(diff::diff "./myfile.txt" "./myfile.newer.txt")
; Output diff to stdout, showing only changed lines
(diff::diff "./myfile.txt" "./myfile.newer.txt" #f)
; Output diff to stderr, showing all lines
(diff::diff "./myfile.txt" "./myfile.newer.txt" #t stderr)
; Output diff to string-buffer, showing only changes
(define buf (string-make-buf))
(diff::diff "./myfile.txt" "./myfile.newer.txt" #f buf)