Skip to content

Instantly share code, notes, and snippets.

@bcaccinolo
Created December 10, 2020 16:17
Show Gist options
  • Save bcaccinolo/514d765cf4fd49d1cd68832f137907d7 to your computer and use it in GitHub Desktop.
Save bcaccinolo/514d765cf4fd49d1cd68832f137907d7 to your computer and use it in GitHub Desktop.
My first babashka/clojure script
#!/home/benoit/bin/bb
(def argument (first *command-line-args*))
(->> argument
(#(str/split % #", "))
(map #(str "\"" % "\""))
(str/join ", ")
println
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment