Skip to content

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Copy link
Owner Author

@caiobegotti caiobegotti commented Jan 5, 2015

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

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