fix unique ips & add ipv6 merges

This commit is contained in:
Lord_Alfred committed 2021-07-29 23:49:00 +03:00
1 parent e5e503611b
commit 0a843ff842
3 files changed
+9 -4

No files matched your search

+2 -2
View File
@@ -18,5 +18,5 @@ jq '.ipv6_prefixes[] | [.ipv6_prefix][] | select(. != null)' -r /tmp/amazon.json
# sort & uniq
sort -hu /tmp/amazon-ipv4.txt > amazon/ipv4.txt
sort -hu /tmp/amazon-ipv6.txt > amazon/ipv6.txt
sort -h /tmp/amazon-ipv4.txt | uniq > amazon/ipv4.txt
sort -h /tmp/amazon-ipv6.txt | uniq > amazon/ipv6.txt