1 |
#!/bin/sh |
#!/bin/sh |
2 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
3 |
A='getns' |
N='getns' |
4 |
B='rabit@netfrag.org, 11.10.2004 - 12.10.2004' |
C='rabit@netfrag.org, 11.10.2004' |
5 |
C="$A - Get nameserver" |
F="$N - Get nameserver" |
6 |
I='$Id$' |
I='$Id$' |
7 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
8 |
|
|
31 |
;; |
;; |
32 |
esac |
esac |
33 |
|
|
34 |
$E "$YW$C$GY\n($B)\n($I)" |
$E "$YW$F$GY ($C)\n($I)" |
35 |
$E $B1'Usage:'$B0 |
$E $B1'Usage:'$B0 |
36 |
$E ' '$B1$A' <number>'$B0 |
$E ' '$B1$N' <number>'$B0 |
37 |
$E " Print the $B1<number>${B0}ths nameserver IP from '$B1$NSList$B0'." |
$E " Print the $B1<number>${B0}ths nameserver IP from '$B1$NSList$B0'." |
38 |
$E " If no name servers are available result is empty, if $B1<number>$B0 is greater" |
$E " If no name servers are available result is empty, if $B1<number>$B0 is greater" |
39 |
$E " than server entries available, the last one is printed." |
$E " than server entries available, the last one is printed." |
40 |
$E ' '$B1$A' -c'$B0 |
$E ' '$B1$N' -c'$B0 |
41 |
$E " Print the count of name server entries in '$B1$NSList$B0'." |
$E " Print the count of name server entries in '$B1$NSList$B0'." |
42 |
$E ' '$B1$A' [-h|--help]'$B0 |
$E ' '$B1$N' [-h|--help]'$B0 |
43 |
$E " Show this help and exit." |
$E " Show this help and exit." |