Disable word wrapping for dictd dictionary.
--- a/Makefile Fri Oct 07 00:30:52 2016 +0300
+++ b/Makefile Fri Oct 07 00:45:54 2016 +0300
@@ -371,7 +371,7 @@
DICTFMT := dictfmt
# --case-sensitive
-DICTFMT_OPT := --headword-separator '; ' --break-headwords --without-headword --utf8 --allchars
+DICTFMT_OPT := --headword-separator '; ' --break-headwords --without-headword --utf8 --allchars --columns 0
dist/dictd/%.dict dist/dictd/%.index: dist/dictd/%.c5 dist/dictd/%.c5.name dist/dictd/%.c5.url $(MAKEFILE_LIST)
(cd dist/dictd; $(DICTFMT) $(DICTFMT_OPT) -c5 -s "`cat $*.c5.name`" -u "`cat $*.c5.url`" $*) < $<
--- a/py/gadict.py Fri Oct 07 00:30:52 2016 +0300
+++ b/py/gadict.py Fri Oct 07 00:45:54 2016 +0300
@@ -271,7 +271,7 @@
return string
m = self.CONT_RE.match(self.line)
if m is not None:
- string += "\n" + m.group(1)
+ string += " " + m.group(1)
else:
return string