view contrib/anocheck/hand-check.sh @ 1201:7490236529e9 draft

a bit more alignment for bind tld zonefile generation
author cathugger <cathugger@cock.li>
date Sat, 12 May 2018 15:46:46 +0000
parents 98707534e274
children
line wrap: on
line source

#!/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