[CentOS] how to separate individual logs?

Wed Dec 1 09:52:00 UTC 2010
John Doe <jdmls at yahoo.com>

From: hadi motamedi <motamedi24 at gmail.com>

>I even tried to make it as an script file and made it executable 
> but  still getting the following error:
> 'syntax error near unexpected token  'done'

Ok, last try...
Did you copy/pasted my code?
Did you type it?
Saying just that there's a syntax error without showing the code you used does 
not help...

JD