mirror of
https://github.com/lord-alfred/ipranges.git
synced 2026-11-16 14:28:36 +00:00
Fix ip sorting
This commit is contained in:
1 parent
3954b45881
commit
e34eb665f7
13 files changed
+46
-46
No files matched your search
@@ -18,5 +18,5 @@ jq '.ipv6_prefixes[] | [.ipv6_prefix][] | select(. != null)' -r /tmp/amazon.json
|
||||
|
||||
|
||||
# sort & uniq
|
||||
sort -h /tmp/amazon-ipv4.txt | uniq > amazon/ipv4.txt
|
||||
sort -h /tmp/amazon-ipv6.txt | uniq > amazon/ipv6.txt
|
||||
sort -V /tmp/amazon-ipv4.txt | uniq > amazon/ipv4.txt
|
||||
sort -V /tmp/amazon-ipv6.txt | uniq > amazon/ipv6.txt
|
||||
Reference in new issue
Block a user