Sort email addresses by domain name...

166 views
Skip to first unread message
Message has been deleted

DrBoBo

unread,
Jul 6, 2016, 12:00:13 PM7/6/16
to BBEdit Talk
How does one sort email addresses by domain name?

Rod Buchanan

unread,
Jul 6, 2016, 12:11:12 PM7/6/16
to bbe...@googlegroups.com

Inside BBEdit I don't know.  If they are saved in a text file this will do it in Terminal:

sort -t'@' -k2 -k1 email_addresses.txt | bbedit

Sorted list will open in a new BBEdit document.


On Jul 6, 2016, at 10:53 AM, DrBoBo <bvhp...@gmail.com> wrote:

How does one sort email addresses by domain name?

--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"sup...@barebones.com" 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 bbedit+un...@googlegroups.com.
To post to this group, send email to bbe...@googlegroups.com.

-- 
Rod Buchanan
Kelly Supply Company
1004 W Oklahoma Ave
Grand Island, NE 68802-1328
308 382-8764 x1120

signature.asc

François Schiettecatte

unread,
Jul 6, 2016, 12:15:27 PM7/6/16
to bbe...@googlegroups.com
Hi

You have sent the same email out three times, give people time to respond :)

Cheers

François

> On Jul 6, 2016, at 11:53 AM, DrBoBo <bvhp...@gmail.com> wrote:
>
> How does one sort email addresses by domain name?
>

Fletcher Sandbeck

unread,
Jul 6, 2016, 1:33:54 PM7/6/16
to bbe...@googlegroups.com
Choose Sort Lines... from the Text menu and check the Sort by Pattern option with the following Searching Pattern and the Entire Match sub-option.

@.*

Hope this helps,

[fletcher]

On Jul 6, 2016, at 8:53 AM, DrBoBo <bvhp...@gmail.com> wrote:

How does one sort email addresses by domain name?

Christopher Stone

unread,
Jul 6, 2016, 2:33:58 PM7/6/16
to BBEdit-Talk
On Jul 06, 2016, at 10:45, Bo <bvhp...@gmail.com> wrote:
How do I sort email addresses by domain name?


Hey Bo,

Use Text > Sort Lines...


Search Pattern:

^.+@(.+)

Sub-Pattern:

\1

--
Best Regards,
Chris

DrBoBo

unread,
Jul 6, 2016, 2:37:42 PM7/6/16
to BBEdit Talk
@.* did the trick. Thank you very much!!!

Bruce Linde

unread,
Jul 6, 2016, 2:37:48 PM7/6/16
to BBEdit Talk
fletcher -

you have to be effing kidding... if i had a dollar for every time i've opened that sort dialog and never realized i could do this, i'd be stinkin' rich.

who was it who said "RTFM"?!?!?!?!   8-)

thank you!!!!

bruce



p.s.: good to get my 'what a dork i am!' moment of the day out of the way early...    8-)







On Wednesday, July 6, 2016 at 10:33:54 AM UTC-7, flet...@cumuli.com wrote:

DrBoBo

unread,
Jul 6, 2016, 3:04:30 PM7/6/16
to BBEdit Talk, listm...@suddenlink.net
Thank you.

Rick Gordon

unread,
Jul 6, 2016, 4:32:19 PM7/6/16
to bbe...@googlegroups.com
Great! That was new to me, too. (Much better than my suggestion.)

---------------------
On 7/6/16, 10:33 AM, Fletcher Sandbeck wrote:
> Choose Sort Lines... from the Text menu and check the Sort by Pattern
> option with the following Searching Pattern and the Entire Match
> sub-option.
>
> @.*
>
> Hope this helps,
>
> [fletcher]

___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
Reply all
Reply to author
Forward
0 new messages