summaryrefslogtreecommitdiff
path: root/contrib/anocheck/hand-check.sh
blob: 24dca8fbca59a5b70429776c3694c6188a7d82e9 (plain) (blame)
1
2
3
4
#!/bin/sh
/usr/local/libexec/bgp-paths.sh 4141 AN_out | tr ' ' '\n' | sort | uniq > /var/cache/anocheck/ASN.$(date +%s)
ls -rt /var/cache/anocheck/ASN.* | tail -r | tail -n+3 | xargs rm
ls -rt /var/cache/anocheck/ASN.* | tail -n2 | xargs diff -s