compress
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
[clojure.tools.logging :as l]
|
||||
[clojure.string :as str]))
|
||||
|
||||
(def words-file "words")
|
||||
(def words-file "words.gz")
|
||||
|
||||
(def ^:dynamic *rcon*)
|
||||
|
||||
(defn lookup-word [word]
|
||||
(->> (p/shell {:out :string}
|
||||
"grep"
|
||||
"zgrep"
|
||||
(format "^%s\t" word)
|
||||
words-file)
|
||||
:out
|
||||
|
||||
Reference in New Issue
Block a user