> HISTCONTROL=erasedups will prevent any duplicates from occurring in the first place.
Sorry, I didn't explain why I'm interested in duplicates. I use the arrow keys a lot to navigate around my recent bash history, so I'm interested in placing the most frequently-used commands at the end of the history file. (I know it's possible to search bash history, but I can never remember how.) > history | sed -e 's/ *[0-9][0-9]* *//' | sort | uniq -c | sort -rn Thanks! -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
