The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Arrange date in a field
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Arrange date in a field
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
02-28-2006
mgirinath
Registered User
Join Date: May 2005
Posts: 69
why not try this...
Code:
datetime=`echo "$3" | awk -F"/" '{ print $2"/"substr($3,1,2)"/20"$1 }'`
mgirinath
View Public Profile
Find all posts by mgirinath