B wrote:

HISTCONTROL=ignoreboth:erasedups
HISTFILE=/path/to/my/.bash_history
HISTFILESIZE=4096
HISTSIZE=4096

Part of my history is, righ now:

  522  cd /var/tmp/; touch z
  523  cd /var/tmp/; touch z
  524  ll
  525  ssh zabu
  526  ssh ximi
  527  ls
  528  ssh zabu
  529  ssh ximi
  530  gprolog
  531  GLOBALZS=100000
  532  gprolog --q="[test]"
  533  gprolog --q "[test]"
  534  gprolog --q "[tp]"
  535  ssh ximi

As you see, there are several repeated lines. Many of them are commands I use
constantly. I started with a clean history. But even if not, the duplicates
should have been erased, as I understood from the manual page?

I can't reproduce this behavior.  It's possible that you can still get
duplicated lines if you are in the habit of using history -n or
history -r, but I can't duplicate it using straight command input from
the keyboard.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to