/sys/src/cmd/dict/dict.c states:
/*
 * Assumed index file structure: lines of form
 *      [^\t]+\t[0-9]+
 * First field is key, second is byte offset into dictionary.
 * Should be sorted with args -u -t'    ' +0f -1 +0 -1 +1n -2
 */

whereas, /sys/src/cmd/dict/mkindex outputs:
<byte offset>   <key>
i.e.,
0       ヽ [くりかえし]
(custom dictionary from EDICT)
or
158928  Ab*sorb`a*bil"i*ty
(pgw)

thus, the resulting index from mkindex seems to not be usable with
dict(7)


Perhaps, before I dive into thinking I'm fixing things,
someone would be kind enough to look into the above?
ak


Reply via email to