(in-package shfact)
(defun main () (print "Welcome to afact
!")
(print (uiop:command-line-arguments))
(let ((arg (car (uiop:command-line-arguments))))
(if arg (print (my-fact:afact (parse-integer arg)))
(print "Please call like
$ ./shfact -- 3
Non command line arguments could be put before the --
")))
(terpri)
(uiop:quit))
Response: text/plain
| Original URL | gopher://sdf.org/0/users/screwtape/asdf-example/shfact/sh... |
|---|---|
| Content-Type | text/plain; charset=utf-8 |