Mercurial > hg > anonet-resdb
annotate contrib/sevilNatas/as_script @ 1038:13158f7517f0 draft
Merge branch 'master' of git://git.d3v11.ano
author | icann <icann@icann.ano> |
---|---|
date | Mon, 15 Oct 2012 00:19:04 +0000 |
parents | 4ec8a1c7f73c |
children |
rev | line source |
---|---|
948
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
1 #!/bin/sh |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
2 # READ ME: |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
3 # If AS# is taken it will return the desired AS# |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
4 # else it will not return the desired AS# |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
5 echo -e "Enter path to resdb:\c" |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
6 read resdb |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
7 cd $resdb |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
8 echo -e "Enter desired AS#:\c" |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
9 read asn |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
10 ls db/as/ | grep "^$asn\$" |
4ec8a1c7f73c
the contrib scripts they should be in contrib/
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
11 |