Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.unix.geeks    |    The gathering of the socially-retarded    |    298 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 21 of 298    |
|    Mumblez to All    |
|    Help with script    |
|    12 Oct 03 20:59:35    |
   
   From: mumblez2002@btinternet.com   
      
   being a newbie need help with this script keeps saying " Umatched ?   
      
   what am i doing wrong please?   
      
      
   echo " select any option to execute"   
   echo " c or C to connect client to server"   
   echo " r or R to make a read request"   
   echo " s or S i want to sort data"   
   echo " g or G look for a certain word in a file"   
   echo " e or E to quit"   
   echo -n "enter your option and press enter"   
   set selection = `head -1`   
   switch ("$selection")   
   case [cC]:   
   echo -n "enter server name"   
   set servername = `head -1`   
   find $servername   
   breaksw   
   case [rR]:   
   cp   
   echo -n "enter server file to read content"   
   set serverfile = `head -1`   
   breaksw   
   case [sS]:   
   sort   
   echo -n "enter server file to sort"   
   set serverfile 1 = `head -1`   
   breaksw   
   case [qQ}:   
   exit 0   
   breaksw   
   default:   
   case [qQ]:   
   exit 0   
   breaksw   
   default:   
   echo "wrong option"   
   exit 1   
   breaksw   
   endsw   
   exit 0   
      
      
      
   in advance thanks for any help you can give me as i'm completely stuck   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca