On 12/1/10, John Doe <jd...@yahoo.com> wrote: > > 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 > Please find below the code that I tried : cat Edit3 | tr -d "\r" | while read LINE; do echo "$LINE" | grep -q '>\.\.' if [ $? -eq 0 ]; then LOGFILE=`echo $LINE | cut -d' ' -f1`.log else echo "$LINE" >> $LOGFILE fi done Please do me favor and correct me on my mistakes. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
- Re: [CentOS] how to separate individual logs? hadi motamedi
- Re: [CentOS] how to separate individual logs? cybernet
- Re: [CentOS] how to separate individual logs? hadi motamedi
- Re: [CentOS] how to separate individual lo... Tony Schreiner
- Re: [CentOS] how to separate individual lo... hadi motamedi
- Re: [CentOS] how to separate individual logs? John Doe
- Re: [CentOS] how to separate individual logs? hadi motamedi
- Re: [CentOS] how to separate individual logs? John Doe
- Re: [CentOS] how to separate individual logs? hadi motamedi
- Re: [CentOS] how to separate individual lo... John Doe
- Re: [CentOS] how to separate individual lo... hadi motamedi
- Re: [CentOS] how to separate individual lo... John Doe
- Re: [CentOS] how to separate individual lo... Les Mikesell
- Re: [CentOS] how to separate individual lo... John Doe
- Re: [CentOS] how to separate individual lo... hadi motamedi
- Re: [CentOS] how to separate individual lo... hadi motamedi