Adding in a hylarious example
This commit is contained in:
parent
26325c4f63
commit
ed310197dd
5
eg/sh/tagwords.hy
Normal file
5
eg/sh/tagwords.hy
Normal file
@ -0,0 +1,5 @@
|
||||
;; python-sh from hy
|
||||
|
||||
(import-from sh cat grep)
|
||||
(print "Words that end with `tag`:")
|
||||
(print (-> (cat "/usr/share/dict/words") (grep "-E" "tag$")))
|
Loading…
x
Reference in New Issue
Block a user