View Single Post
  #23 (permalink)  
Old 07-06-2007, 05:11 AM
Nextasy Nextasy is offline
Active Member
 
Posts: 42
Default

Quote:
Originally Posted by area View Post
And here are a few extra lines to add to the end of the sed script (/root/scripts/convert_date.sed):
# Mon, 4 07 2005 09:59:05 +0200 (CEST)
s/^[A-Z][a-z][a-z], \([0-9][0-9]*\) \([0-9][0-9]\) \([0-9][0-9][0-9][0-9]\) \([0-9][0-9]:[0-9][0-9]:[0-9][0-9]\) +\([0-9]*.*\)$/\3-\2-\1 \4/
s/-\([1-9]\) /-0\1 /


Rgds - Angus
Thx...you are my personal hero of the day ;-)

Hint: for a couple of mails, i have to set the date of the linux date (01-01-1970)
Reply With Quote