Bash script that creates C-style structs from sprite coordinates on a sprite sheet