11

dealing with dates in a text file

view full story
linux-howto

http://www.unix.com – hi guys im trying to write a bash script that grabs expired domain names it leaves me with the following outpiut in a text file Quote: 1, test.com Expiration Date:17-jun-2013 2, test.net Expiration Date:29-mar-2013 3, test.org Expiration Date:26-Jul-2012 04:00:00 4, .test.biz Expiration Date:Mar 26 23:59:59 2012 5, test.info Expiration Date:27-Jul-2012 07:56:43 Im hoping to try to normalise all the dates to the format displayed in the first 2 lines and remove the times so the file looks unfirom can any one give me a heads up ? Thanks for (HowTos)