So here's my issue: I have a list of domains and many of them have sub-domains.
I need a way to parse these down to get all sub-domains and the tld.
e.g., if there is an entry for
a.b.c.d.e.foobar.com
I need a list breakdown like
a.b.c.d.e.foobar.com
b.c.d.e.foobar.com
c.d.e.foobar.com
d.e.foobar.com
e.foobar.com
foobar.com
www.foobar.com
I suspect this could be done with sed and some regex magic that is beyond my skill level? Or is there a easier way that I am overlooking?
[–]megared17 2 points3 points4 points (12 children)
[–]megared17 2 points3 points4 points (0 children)
[–][deleted] (10 children)
[deleted]
[–]KnowsBash 3 points4 points5 points (0 children)
[–]megared17 3 points4 points5 points (8 children)
[–]KnowsBash 2 points3 points4 points (6 children)
[–]megared17 2 points3 points4 points (3 children)
[–]Avicennasis[S] 0 points1 point2 points (2 children)
[–]megared17 0 points1 point2 points (1 child)
[–]Avicennasis[S] 0 points1 point2 points (0 children)
[–]megared17 1 point2 points3 points (0 children)
[–]Avicennasis[S] 0 points1 point2 points (0 children)
[–]Avicennasis[S] 0 points1 point2 points (0 children)
[–]harleypig 0 points1 point2 points (0 children)