Re: Advice on Shell Scripting with new "clojure" binary

2018-01-05 Thread Alan Thompson
Atwood > > > -------------- > *From:* clojure@googlegroups.com on behalf of > Delon Newman > *Sent:* Thursday, January 4, 2018 3:26:43 PM > *To:* Clojure > *Subject:* Advice on Shell Scripting with new "clojure" binary > > How do I get co

Re: Advice on Shell Scripting with new "clojure" binary

2018-01-05 Thread Delon Newman
Thanks, but I do need the JVM. > On Jan 5, 2018, at 1:33 AM, Gary Verhaegen wrote: > > On 4 January 2018 at 23:26, Delon Newman wrote: >> Also, any additional advice with respect to using Clojure for shell >> scripting would be appreciated. > > Unless you have a specific reason to prefer the J

Re: Advice on Shell Scripting with new "clojure" binary

2018-01-05 Thread Gary Verhaegen
On 4 January 2018 at 23:26, Delon Newman wrote: > Also, any additional advice with respect to using Clojure for shell > scripting would be appreciated. Unless you have a specific reason to prefer the JVM to Node as a platform for your script, I'd encourage you to take a look at Planck and Lumo fo

Re: Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Delon Newman
x27;re not really alive." > -- Margaret Atwood > > > ---------- > *From:* clo...@googlegroups.com > on behalf of Delon Newman > > *Sent:* Thursday, January 4, 2018 3:26:43 PM > *To:* Clojure > *Subject:* Advice on Shell Scripting with new &q

RE: Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Sean Corfield
alive." -- Margaret Atwood From: clojure@googlegroups.com on behalf of Delon Newman Sent: Thursday, January 4, 2018 3:26:43 PM To: Clojure Subject: Advice on Shell Scripting with new "clojure" binary How do I get command line arguments in a Clojure s

Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Delon Newman
How do I get command line arguments in a Clojure shell script using the new "clojure" binary? So for a file like: # file-name: hello #!/usr/bin/env clojure (defn -main [name] (println (str "Hello, " name))) and execute it like: ./hello John the "-main" function is not executed. Is there