dns-backup-tool/join.sh
François Pelletier edcc2685ed first commit
2024-07-31 16:51:33 -04:00

5 lines
159 B
Bash

#!/bin/zsh
join -t '' -j 2 suffix-list.txt dns-list.txt | sort -u > domain-list-n.txt
tr < domain-list-n.txt -d '\000' > domain-list.txt
rm domain-list-n.txt