Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created March 8, 2011 01:38
Show Gist options
  • Save mcandre/859675 to your computer and use it in GitHub Desktop.
Save mcandre/859675 to your computer and use it in GitHub Desktop.
#!/bin/bash
#(comment
exec clj -m `basename $0 .clj` ${1+"$@"}
exit
#)
(ns hello
(:gen-class))
(defn -main []
(println "Usage: hello <name>"))
(defn -main
[greetee]
(println (str "Hello " greetee "!")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment