[PATCH 1/3] cmd: Fix out-of-bound access when parsing commands that start with >.