I have one question regarding the change of date format since I am new to shell scripting please help me by giving your precious time ....
Q: I want to change the format of date from 1-Nov-2011 and change this format into 1-11-2011 please help me regarding this . It will be a great help for the people like me who is new to this field.
Your support will be appreciated.
I have used this
echo 1-Nov-2011 | sed "s/\(.\{4\}\)\(..\)\(..\)\(..\)\(..\)\(..\)/\3-\2-\1 \4:\5:\6/"