summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsa Venton <asav1410@gmail.com>2020-10-30 08:38:35 +0000
committerAsa Venton <asav1410@gmail.com>2020-10-30 08:38:35 +0000
commit56b003453a5cdea3dc822c6948ca05295654c5fe (patch)
treeae87842ab4163a3acc57c6d42f875dfd504f8b4e
parentf9fcb8c31de8ffd5592c0bfc5b5591f205ecf012 (diff)
_getdata was being called twice for -wod.
-rwxr-xr-xoedquery.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/oedquery.sh b/oedquery.sh
index 7b8c3a2..4d6f430 100755
--- a/oedquery.sh
+++ b/oedquery.sh
@@ -150,7 +150,6 @@ _wod() {
lexicoUrl="https://www.lexico.com/"
_curl $lexicoUrl
word=$(echo $result | hxnormalize -x | hxselect -i "a.linkword" | grep -o '>.*<' | sed 's/[><]//g')
- _getdata
_define
}