Re: Executable clojure scripts (#!/usr/bin/env clj)

2010-07-13 Thread Phil Hagelberg
On Tue, Jul 13, 2010 at 1:55 PM, Paul Richards wrote: > I'm new to Clojure, and I've found it possible to make Clojure scripts > executable by adding '#!/usr/bin/env clj' as the first line (and > 'chmod +x' of course). > > E.g. My sample script: > > #!/usr/bin/env clj > > (println "Hello World") >

Re: Executable clojure scripts (#!/usr/bin/env clj)

2010-07-13 Thread Mike Meyer
On Tue, 13 Jul 2010 21:55:15 +0100 Paul Richards wrote: > I'm new to Clojure, and I've found it possible to make Clojure scripts > executable by adding '#!/usr/bin/env clj' as the first line (and > 'chmod +x' of course). > > E.g. My sample script: > > #!/usr/bin/env clj > > (println "Hello Wor