I've already greped a log file for multiline of date string:
2012-10-09 14:05:26
2012-10-09 14:11:18
2012-10-09 14:12:03
Now I want to convert them to timestamp, and find which one is bigger than a value
date cmd:
date -d "2012-10-09 14:37:59" +%s
I'm not sure how to do it with multiple lines, awk or other shell cmd.