The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 03-06-2009
haris haris is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 25
can anybody help me on this its urgent

i have a script named date1 with its content as follows:

echo "enter date:\c"
read date

if [ -z "$date" ]
then
echo "Please enter the date"
fi


now when the run the script and enter the date in say

05032009

then i want to print o/p as

05 March 2009

how do i do this

thanks,
haris