If they are all dated 2009, and you dont have any names that follow that include 2009, then this should work:
Code:
for i in $(cat $file); do
date -d "`echo $i|sed -e 's/\(.*2009\) /\1/'`" +%s
done
But this is only going to put it on the stout, if you want to do anything with this data, like store it in a file, then add a pipe to the end of the date line: >> $outputfile
Good luck!
EDIT: This is also assuming that the file ONLY contains the date lines. If there are other lines that need to be cleaned out first, then change the for line to this:
Code:
for i in $(cat $file|grep 2009); do