Hello, On Thu, 02 Apr 2015, David C. Rankin wrote:
On 04/02/2015 11:59 AM, David Haller wrote:
I just remembered: how are your shopt settings?
$ shopt|grep hist [..] Anyway, I just use this to uniqify my big historyfile:
==== #!/bin/bash HFILE="$1" TMPF="$(mktemp "${HFILE}.$$.XXXXXXXXXX")" if time tac "$HFILE" | awk '!x[$0]++ { print; }' > "${TMPF}"; then tac "${TMPF}" > "${HFILE}" && rm "${TMPF}" fi ====
Always does.
$ shopt|grep hist cmdhist on histappend on histreedit off histverify off lithist off [ == same as me]
I'll grab the current from the shells repo. I hope that doesn't break something else :-)
I've been using that bash-version since that (Env-)Variable bug thing (6 months ago, revisions tells me) and all is well as it used be to minus a few bugs ;) I build it in my home-repo though (for 12.1-13.1, just a link to Base:System, just as the one in "shells", without any changes), if you already have my repo in your list, grab it from there. -dnh -- I'm too busy to insult you, but your humiliation is important. Please hold. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org