Adapted gen.pl with 'listcats' This commit is a part of "--help me if you can" Closes #5680
Follow-up to 5620d2cc78
5620d2cc78
Works with --create-dirs and with -J Add test 3008, 3009, 3011, 3012 and 3013 to verify. Closes #5637