Skip to content

Instantly share code, notes, and snippets.

@ishideo
Created March 22, 2021 08:04
Show Gist options
  • Save ishideo/229fa991bc014a6e2e011ecb1b4d7f92 to your computer and use it in GitHub Desktop.
Save ishideo/229fa991bc014a6e2e011ecb1b4d7f92 to your computer and use it in GitHub Desktop.
cat input.tsv |
lein run -m clojure.main -e '
(-> *in*
java.io.BufferedReader.
line-seq
(->> (map #(clojure.string/split % #"\t"))
(map #(first %))
(clojure.string/join \newline)
println))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment