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")
>
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
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")
This seems like a very convenient way to dabble with Clojure, yet I