Skip to content

Instantly share code, notes, and snippets.

@locks
Created October 16, 2013 15:44
Show Gist options
  • Save locks/7009956 to your computer and use it in GitHub Desktop.
Save locks/7009956 to your computer and use it in GitHub Desktop.
(->> (slurp (nth *command-line-args* 1))
clojure.string/split-lines
sort
(clojure.string/join "\n")
(spit (nth *command-line-args* 2)))
@avdi
Copy link

avdi commented Oct 16, 2013

That is gorgeous.

@ELLIOTTCABLE
Copy link

“And here’s Clojure, from Ricardo Mendes:”

Didn't see that coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment