summaryrefslogtreecommitdiff
path: root/scripts/as_script
blob: f01724b22f090ffd750667b53a523fdcc46de6b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# READ ME:
# If AS# is taken it will return the desired AS#
# else it will not return the desired AS#
echo -e "Enter path to resdb:\c"
read resdb
cd $resdb
echo -e "Enter desired AS#:\c"
read asn
ls db/as/ | grep "^$asn\$"