This is a function taken from unix-opts to have a compatibility layer between common lisp implementations to get the argv.
If you have uiop
installed, consider just using the function
uiop:raw-command-line-arguments
.
Copy this repository into your ~/common-lisp/
like
git clone [email protected]:alejandrogallo/argv ~/common-lisp/argv
Then use it like:
(require :asdf)
(require :argv)
(print (argv:argv))