@manu's perl script works fine, thanks.
But I use this:
awk '!x[$0]++' .bash_history > .bash.tmp && mv -f .bash.tmp .bash_history
@manu's perl script works fine, thanks.
But I use this:
awk '!x[$0]++' .bash_history > .bash.tmp && mv -f .bash.tmp .bash_history