Split command if a new command is in the middle