Parse DAMP command log into a C-style command array