cat: Oops, two fixes.

This commit is contained in:
Jan Nieuwenhuizen 2018-11-14 22:40:52 +01:00
parent efd22ab959
commit 049c4a20dc
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
(else 1)))))))
(define basename-command (wrap-command "basename" gash:basename))
(define cat-command (wrap-command cat "cat"))
(define cat-command (wrap-command "cat" cat))
(define compress-command (wrap-command "compress" compress))
(define cp-command (wrap-command "cp" cp))
(define dirname-command (wrap-command "dirname" gash:dirname))

View File

@ -36,6 +36,6 @@
(call-with-input-file file
(lambda (port)
(dump-port port (current-output-port))))))
0 args))
0 (if (null? args) '("-") args)))
(define main cat)