1
ewpratten.com/sources/personal-as-stats/build_personal_as_list.sh
2022-09-18 15:10:31 -04:00

8 lines
199 B
Bash

#! /bin/bash
set -e
curl --user-agent "AS-SET Builder" \
https://bgp.tools/tags/perso | \
grep -o "/as/[0-9]*" | \
sort | uniq | sed -e 's#/as/#AS#g' \
> sources/personal-as-stats/personal_ases.txt