title: How to run Clozure CL (Lisp) from a shell script on OS X?
body: <p>I tried the following:</p>
  
  <pre><code>$ cat args.sh
  \#! /Applications/ccl/dx86cl64
  (format t "~&amp;~S~&amp;" *args*)
  
  $ ./args.sh 
  </code></pre>
  
  <p>Couldn't load lisp heap image from <code>./args.sh</code></p>
  
  <p>I can run lisp fine directly:</p>
  
  <pre><code>$ /Applications/ccl/dx86cl64
  Welcome to Clozure Common Lisp Version 1.5-r13651  (DarwinX8664)!
  
  ? 
  </code></pre>
  
  <p>Is it possible to write a shell script to run lisp code with Clozure CL? I am sure I am doing something silly. </p>
  
  <p>I installed it from:  <a href="http://openmcl.clozure.com/" rel="nofollow noreferrer">http://openmcl.clozure.com/</a></p>