David C. Rankin wrote:
If someone can confirm 13.1 is ignoring 'erasedups', I'll file the bug.
I can confirm the opposite(?). Try this:
echo blah echo blah echo foo echo blah history | tail -5 8363 0402@003632: history 8364 0402@003903: history|tail 8365 0402@003939: echo foo 8366 0402@003942: echo blah 8367 0402@003950: history |tail -5
Note, only 1 'echo blah' in the hist file. I too, keep long histories, but don't read the full hist in all the time...;-)
wc master_history 117447 252753 2663179 master_history
FYI - hist vals:
env|grep HIST HISTSIZE=1073741824 HISTFILESIZE=1073741824 HISTCONTROL=erasedups HISTTIMEFORMAT=%m%d@%H%M%S: HISTFILE=/home/law/.histIshtar_pts/6
Note: HISTFILE=~/.hist${HOSTNAME}_$TTY_NAME with a check done to make sure the '_pts' dir is present: if [ ! -d ${_local_dir:=`dirname $HISTFILE`} ] ; then.. rpms: libreadline6-6.2-68.1.5.x86_64 bash-4.2-68.1.5.x86_64 Every once in a while I merge them with a perl script into a 'master_history' file that eliminates all but the newest dup and "tries" to weed out improbable commands (things that can occur due to histfile overwrites or pasting text into a prompt). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org