Craig
Sounds like a job for Perl. Should be straightforward, then BBedit run Perl script if you want to do it in BBedit.
Ron

On 05/08/2016 11:57 AM, Craig Maynard wrote:
I'd like to use BBEdit to periodically do the following:

• Find all occurrences of duplicate lines in my .bash_history file.
• Remove the duplicates and then re-order the remaining lines by frequency, with the most frequent at the end of the file.

If anyone has done this before, can you suggest a good way to proceed?

Thanks,
Craig

--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.

--
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].

Reply via email to