Unix Korn Shell - Converting Strings to Dates
Posted on 2006-04-13
I am pulling the Day, Month , Year from various files using 'ls -l' to allow me to compare files in one directory against another. The month is coming out as 'Oct'. The problem is I need to convert my final string e.g. '10/May/2005' to a date format to allow me to filter which has the latest date etc. I have trawled various sites with no answers.
I have used awk to extract the positions from ls-l process. Any help appreciated....