1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/scripts/rdap_getasn.sh
2018-11-08 19:45:21 +00:00

11 lines
177 B
Bash
Executable File

#!/bin/bash
handle=$1
if test -z "$handle"; then
echo usage $0 HANDLE
exit 1
fi
curl -L4 https://rdap.db.ripe.net/autnum/$handle > tests/data/rdap/autnum/${handle}.input