I have a text file with a list of domain names(each on a seperate line).
How do I remove the lines not ending in .org
using bash or python?
This is what I have so far which kind of works but not fully. This list will then be used later in python.
grep .org output1.txt