Unix shell scripting
This is a guide for writing Unix shell scripts in various Common Lisp implementations.

cl-launch is a self-contained shell-script that will abstract away the details of the underlying Lisp implementation by generating the proper Lisp and shell code.

Information for invoking Lisp source files as shell scripts for particular Common Lisp implementations:

Implementation Shebang invocation Command-line arguments More info
CLISP #!/usr/local/bin/clisp EXT:*ARGS* CLISP quickstart delivery
ECL #!/usr/local/bin/ecl -q -norc -shell (si:argc), (si:argv N) ecl(1) manual page
GCL #!/usr/local/bin/gcl -f si:*command-args* gcl(1) manual page
SBCL #!/usr/local/bin/sbcl --script sb-ext:*posix-argv* SBCL manual section 3.1.3

Other topics: deployment