Search Results

Search: Posts Made By: MJKeeble
11,722
Posted By MJKeeble
Think I finally got it :) :) :) Code in...
Think I finally got it :) :) :)

Code in shell script

linedate="2/14/2013"
IFS="/" read mm dd yyyy <<EOF
$linedate
EOF
newvar=$(printf "%04d%02d%02d" $yyyy $mm $dd)
echo $newvar...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy