summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--htmtojargon.awk5
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8b60533..8b6d8fd 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ oed.dict: oed.jargon
cat oed.jargon \
| dictfmt -j --utf8 \
--columns 0 --headword-separator ',' \
+ --index-data-separator " " \
-u http://njw.me.uk/oed \
-s "Oxford English Dictionary, 2nd Edition" \
oed
diff --git a/htmtojargon.awk b/htmtojargon.awk
index f67cd49..265c1c6 100644
--- a/htmtojargon.awk
+++ b/htmtojargon.awk
@@ -13,10 +13,7 @@ function printdefs(word, defs) {
# ensures that e.g. 'n.' queries don't match every noun.
# To be used in conjuction with an argument to dictfmt like this:
# --index-data-separator " "
- # This is disabled at the moment as GoldenDict prior to 2c901d5
- # (2013-06-16) had a bug that would ignore any entry with this
- # extra information in the index.
- #sub("<i>", " ", word);
+ sub("<i>", " ", word);
n = split(defs, array, "<def>");
for(i=0; i<=n; i++) {