The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-16-2008
danmero danmero is online now Forum Advisor  
  
 

Join Date: Nov 2007
Location: 45.48-73.63
Posts: 1,441
Please post your script with the code tags.
Use test if you don't want to write 100 case statements.

Code:
echo "Enter your choice :\c"
read num
if [ $num -gt 0 -a $num -lt 101 ]; then "${TEST_HOME}"/ctrl_extract.ksh $num; fi