Skip to content

Instantly share code, notes, and snippets.

@t-sin
Created August 23, 2015 15:21
Show Gist options
  • Save t-sin/67ee4dfd5ff30c10c7c7 to your computer and use it in GitHub Desktop.
Save t-sin/67ee4dfd5ff30c10c7c7 to your computer and use it in GitHub Desktop.
Roswell script test. It's an error at L11: inquisitor (installed asdf path) not found.
#!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
(defun main (&rest argv)
(declare (ignorable argv))
(let ((scheme (first argv))
(path (second argv)))
(unless (or (null scheme) (null path))
(ql:quickload :inquisitor)
(inquisitor:detect-encoding (pathname path) scheme))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment