On Tue, Jan 27, 2009 at 5:21 PM, Mark Volkmann <r.mark.volkm...@gmail.com>wrote: > > > Yes, but it's specifically meant to be used as the first line of a > > file, to allow Clojure script to use unix "shebang" format. > > What should follow it? Something like this? > #!/Users/Mark/bin/clj > > That's the path to where my clj script is located. > > I created a script named shebang.clj that contains that line and > (println "Hello"). Then I tried to run it with ./shebang.clj, but it > tried to run it with bash instead of my clj script and didn't > understand "println". >
#!/path/to/an/executable/but/not/a/shell/script You can't have your #! line point to another file with a #! line in it. (Well, you can but it won't do what you want). -- Cosmin Stejerean http://offbytwo.com --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---