repo: iptools
action: blob
revision: 
path_from: ASN-to-list.sh
revision_from: refs/heads/master:
path_to: 
revision_to: 
git.thebackupbox.net
iptools
git clone git://git.thebackupbox.net/iptools

blob of:

iptools

/ ASN-to-list.sh

blob_plain of this file

refs/heads/master:/ASN-to-list.sh

 #!/usr/bin/env bash

 ASN="$1"

 whois -h whois.pwhois.org 'routeview source-as='"$ASN" | tail -n+3 | tr -s ' ' | cut '-d ' -f2