title: Bash shell script that splits date into 3 arguments?
body: <p>Hi I have an assignment that requires the user to enter their date of birth.
  From the beginning I need to get the user to input their date of birth.
  Let' say if the date entered is "20050215", how can I split it into 3 arguments? (2005 02 15)
  I also need for user to have other option to input their birthday like this 
  "-y 2005 -m 02 -d 15"
  Please help me.
  Your help would be greatly appreciated.</p>