/[cvs]/nfo/bash/getns
ViewVC logotype

Diff of /nfo/bash/getns

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by rabit, Tue Oct 12 22:23:11 2004 UTC revision 1.2 by rabit, Tue Oct 12 22:31:21 2004 UTC
# Line 1  Line 1 
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    
# Line 31  case "$Arg" in Line 31  case "$Arg" in
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."

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed