The shell script list will print a list of categories and extensions associated on each line.
The shell scripts json-categories and json-extensions will produce key/value maps per-category and per-extension like those distributed in pub.
The shell script build-ext2cat renders another shell script that be used to quickly categorize files on the command-line.