Making the reports work
This commit is contained in:
parent
66242c5887
commit
049937d6bc
|
@ -68,8 +68,6 @@
|
|||
(lambda (line)
|
||||
(string-append line "</br>"))
|
||||
results))))
|
||||
(write results)
|
||||
(newline)
|
||||
(execute report-row
|
||||
`((name . ,name)
|
||||
(command . ,command)
|
||||
|
|
4
util.scm
4
util.scm
|
@ -26,7 +26,9 @@
|
|||
((looper
|
||||
(lambda (line count lines)
|
||||
(if (eof-object? line)
|
||||
(list-tail lines (- (length lines) linecount))
|
||||
(if (< (length lines) linecount)
|
||||
(list)
|
||||
(list-tail lines (- (length lines) linecount)))
|
||||
(looper (read-line) (+ count 1) (append lines (list line)))))))
|
||||
(looper (read-line) 0 (list)))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue