word: identify rows by id number
[sheet.git] / tools / mkwordlist
1 #!/bin/sh
2 echo 'use utf8;'
3 psql sheet -XAt -c "
4         SELECT json_object_agg(coalesce(id::text, ''), forms) FROM _cat_words
5 " | sed 's/ : / => /g'