Steve, Could this be done such that % java -cp /sq/ext/clojure/clojure.jar clojure.main demo.clj foo bar baz the highlighted part won't the there? But would be ''attached'' behind the scene .
Regards, Emeka On Thu, Jul 2, 2009 at 6:17 PM, Stephen C. Gilardi <squee...@mac.com> wrote: > > On Jul 2, 2009, at 2:00 PM, Mark Volkmann wrote: > > I run it with "clj demo.clj foo bar baz" and get this output: >> >> clojure.lang.ArraySeq >> 2 >> >> I get the same output with "clj demo.clj -- foo bar baz". >> >> Why doesn't it output 3? >> > > That depends on your definition of clj. > > Here's what I get without using a launcher script: > > % java -cp /sq/ext/clojure/clojure.jar clojure.main demo.clj foo bar baz > clojure.lang.ArraySeq > 3 > (foo bar baz) > > (I added (println *command-line-args*) to my demo.clj. You might get some > good info by adding it yours as well.) > > --Steve > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---