comparison contrib/sevilNatas/subnet_script @ 948:4ec8a1c7f73c draft

the contrib scripts they should be in contrib/
author Nick <nick@somerandomnick.ano>
date Mon, 04 Jun 2012 13:29:22 +0000
parents
children
comparison
equal deleted inserted replaced
947:1b0a312dcad0 948:4ec8a1c7f73c
1 #!/bin/sh
2 # READ ME:
3 # If subnet is taken it will return the desired AS#
4 # else it will not return the desired subnet
5 echo -e "Enter path to resdb:\c"
6 read resdb
7 cd $resdb
8 echo -e "Enter desired subnet:\c"
9 read subnet
10 cat db/ip/01/*/*/cidr | grep "^$subnet\$"
11