echo "DD-MM-YYYY" | awk '{split($0, TM, "-"); print "Date = "TM[1] "\tMonth = "TM[2] "\tYear = "TM[3]}'
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
Friday, March 29, 2013
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment