On Nov 16, 2008, at 8:55 AM, Rich Hickey wrote: > I've added #! as a to-end-of-line comment, like ;
Very cool, thanks! Now, with Clojure compiled into its jar and the associated faster launching, it's reasonable to think of using Clojure for more tasks that might otherwise be done with bash/perl/python. That would require a way (ideally built into the standard clojure.jar) for Clojure to read a script from stdin, execute it, and exit. Would this be best done by enhancing clojure.lang.Script or by providing a new "main" tailor made for it? I'm in favor enhancing clojure.lang.Script. Does anyone have any thoughts about this? Does anyone with a Contributor Agreement in place already have code for it they'd like to propose? --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 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 -~----------~----~----~----~------~----~------~--~---