hy/eg/sh/tagwords.hy
2013-03-23 14:33:04 -04:00

6 lines
147 B
Hy

;; python-sh from hy
(import-from sh cat grep)
(print "Words that end with `tag`:")
(print (-> (cat "/usr/share/dict/words") (grep "-E" "tag$")))