[CentOS] how to separate individual logs?

Wed Dec 1 07:09:09 UTC 2010
hadi motamedi <motamedi24 at gmail.com>

On 11/30/10, John Doe <jdmls at yahoo.com> wrote:
>
> My pseudo-code does exactly what you described (re-read it)...
>
> And it creates <MODULE>.log files...
> $ ll -n
> total 36
> -rw-r--r-- 1 2000 500 4678 nov 30 10:49 Edit3
> -rw-r--r-- 1 2000 500   39 nov 30 10:54 HLR.log
> -rw-r--r-- 1 2000 500 2320 nov 30 10:54 IPTR.log
> -rw-r--r-- 1 2000 500  478 nov 30 10:54 SCCP.log
> -rw-r--r-- 1 2000 500  754 nov 30 10:54 SNMP.log
> -rw-r--r-- 1 2000 500  507 nov 30 10:54 TCAP.log
> -rw-r--r-- 1 2000 500  281 nov 30 10:54 XAPP.log
> -rwxr-xr-x 1 2000 500  207 nov 30 10:54 test.sh*
>
> If you think it is not doing it, I cannot help you...
> Either ask your sysadmin to help you, or use someone else code...
>
> JD
>
Thank you very much for your technical support. I carefully read your
code and analyzed it. At now , I can understand it. Sorry for my
mis-understanding. I tried to run it but got error. 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'
'done'
I am using centos 5.2  It seems that something wrong my case. Can you
please help me?