.bash_history duplicates

2008-11-26 Thread Robert Holtzman
I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0]++' .bash_history .bash.tmp mv -f .bash.tmp .bash_history export

Re: .bash_history duplicates

2008-11-26 Thread Nelson Castillo
On Wed, Nov 26, 2008 at 5:28 PM, Robert Holtzman [EMAIL PROTECTED] wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0]++'

Re: .bash_history duplicates

2008-11-26 Thread Boyd Stephen Smith Jr.
On Wednesday 2008 November 26 16:28, Robert Holtzman wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up I use: export HISTCONTROL=ignoredups:erasedups My .bash_history doesn't have any adjacent

Re: .bash_history duplicates

2008-11-26 Thread Michelle Konzack
Am 2008-11-26 15:28:47, schrieb Robert Holtzman: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0]++' .bash_history .bash.tmp

Re: .bash_history duplicates

2008-11-26 Thread Robert Holtzman
On Wed, 26 Nov 2008, Boyd Stephen Smith Jr. wrote: On Wednesday 2008 November 26 16:28, Robert Holtzman wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up I use: export