mirror of
https://github.com/lord-alfred/ipranges.git
synced 2026-11-12 20:47:08 +00:00
fix unique ips & add ipv6 merges
This commit is contained in:
1 parent
e5e503611b
commit
0a843ff842
3 files changed
+9
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user