Empty lines are not stored in history
No repetition in history