At 10:28 AM -0500 8/17/09, Fritz Anderson sent email regarding Re: shell, perl script to count identical lines?: >On 17 Aug 2009, at 10:19 AM, Warren Michelsen wrote: > >> Does anyone have a shell or Perl script for BBEdit which will count >> identical lines in the front-most document and report the results? > >man uniq
Aha! #!/bin/sh uniq -c "$1" does the trick. Man, I love Unix. (and BBEdit.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
