Created
August 14, 2023 17:11
-
-
Save apeckham/5fe4b429fc57790a8581fcfdbc855d37 to your computer and use it in GitHub Desktop.
remove comments, spaces and duplicates from an ads.txt file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -e 's/ *#.*$//' -e 's/[ ,]*$//' -e 's/ *, */,/g' | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment