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

10 lines
176 B
Bash
Raw Permalink Normal View History

2018-11-08 19:45:21 +00:00
#!/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