Last active
April 9, 2018 11:02
-
-
Save Xion/c644da6f467870a09421adbf0f97580d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl https://hackage.haskell.org/package/Chart-1.1/docs/Control-Lens-Operators.html | python -c ' | |
import re, sys | |
for line in sys.stdin.readlines(): | |
m = re.search(r"""class="def">([^<]+)</a> ::""", line) | |
if m: | |
print(m.group(1)[1:-1].replace("<", "<").replace("&", "&").replace(">", ">")) | |
' | sort | uniq | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment