- May
- 13,190
- 180
I did this:
Then I opened the history pop-up and typed "ec" in the search box and scrolled down to "echo 5" and pressed Enter.
I got this:
It's not just off by 1. Before simplifying the experiment I saw it off by a lot.
You don't have to empty your history to see this. Just open the pop-up, type something in the search box that will have several matches, scroll to one of the matches, press Enter, and see if you get what you asked for. Chances are you won't even get one that matches the search criterion.
Code:
v:\> history /f"*"
v:\> do i=1 to 20 ( history /a echo %i )
Then I opened the history pop-up and typed "ec" in the search box and scrolled down to "echo 5" and pressed Enter.
I got this:
It's not just off by 1. Before simplifying the experiment I saw it off by a lot.
You don't have to empty your history to see this. Just open the pop-up, type something in the search box that will have several matches, scroll to one of the matches, press Enter, and see if you get what you asked for. Chances are you won't even get one that matches the search criterion.