On 4 February 2010 20:47, Brenton <[email protected]> wrote: > I have created a clj command on my system (using Ruby, > http://gist.github.com/247899) > that will run a Clojure script or launch the REPL. > > For example: "clj script.clj" or just "clj script" will run as script. [...]
Clojure also ignores lines starting with #!, so you can have a file with the first line being: #!/usr/bin/env clj and with the rest being just normal Clojure s-expressions, and then you can even run it directly instead of "clj script.clj". :) -- Michael Wood <[email protected]> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
