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 -->
  #1 (permalink)  
Old 06-27-2006
Nayanajith Nayanajith is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 27
How to match month

Dear all,

i need script to ask to enter the month and if the enterd month is not valid prompt " Envalid entry try again " like this.

eg - Enter the month : Jun

script is proceeding

if we enter incorrect month,

Enter the month - Junn

Invalid entry , try again.

Thanks,
Nayanajith.