X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/139cfe4ebde273208f91d401a2938330faf41c06..35a635c705ad1449df22a7cf5f6623b9445e40e3:/tools/mkwordlist?ds=sidebyside diff --git a/tools/mkwordlist b/tools/mkwordlist index 78859b4..2e38a8d 100755 --- a/tools/mkwordlist +++ b/tools/mkwordlist @@ -13,7 +13,7 @@ use Data::Dump 'pp'; my %rows; if (my $lang = shift @ARGV) { my %filter = (lang => $lang); - my $cols = "ref, id, prio, array_to_string(form || alt, '/')"; + my $cols = "ref, array_to_string(form || alt, '/'), prio, id, cat"; %rows = $db->select(_word_ref => $cols, \%filter)->map_arrays; say pp \%rows =~ s/\\x\{([0-9A-F]+)\}/chr hex $1/ger;