src/script.c: fix cat typing bug