In rare cases, the following happens to me: when I press UP and then RET to execute the last command line, and the two presses are close enough in time, bash takes the UP key as input without invoking history, so it tries to execute something like '^[[A'.
This is minor, but it seems a bug to me. It looks like bash not substituting the pressed key with history immediately. Am I correct? Andrea Monaco