4
votes
1answer
121 views

Improve this Clojure code to construct a tail cmd?

I wrote this without much thought: (defn- tail-cmd "Construct a tail cmd" [file n & ignore-patterns] (clojure.string/join " | " (flatten [(format "tail -n %s -f %s" (or n 200) file) ...