> > Did you happen to have HISTCONTROL set?
>
> Yes, it's set to "erasedups".
Well, then it's easily possible for the history number to go backward as
you observed. If you're at the limit (500), but the `erasedups' setting
causes a number of previous history entries to be removed, the number of
the last history entry will decrease.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/