Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Busca palavra no dicionário da ABL já pelo acordo ortográfico
#!/bin/bash -eu
# public domain
term=$(echo ${input} | xmlstarlet esc | sed -e 's/\&\#\x/\%/;s/\;//')
lynx -dump${term} | sed -e '1!d' -e 's/^.* \([a-z]\+\) .*/\1/g'
exit 0

This comment has been minimized.

Copy link
Owner Author

@caiobegotti caiobegotti commented Jan 5, 2015

chmod +x
./ estóico
./ idéia
./ vôo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment