I have a list of urls in one text file and then some emails in another.
What im after is a way of comparing and finding the domain name of an email with the list of the urls in a text file
then in the email list you would have something like this that matches that domain
now if there are missing emails or it cannot find the right address for that matched domain just copy the original URL in its place.
So the final master file would be a combo of matched emails to domain and the urls that have no matches.
<-------------------- no matches from email list
can you make sure the output is line by line