LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   please help me...for my final project (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-for-my-final-project-725435/)

mkaz 05-12-2009 09:06 AM

please help me...for my final project
 
I want to get help about the breaking log files in normalizing log. My supervisor remind me to should shell script to make break about the log contain..

This is example for normalizing for get time in log contains
### get time
time="`echo $alert | cut -f 2 -d '-' | cut -f 1 -d '.'`"


I hope all member can help me how to make the bash script to breaking log contains.

pixellany 05-12-2009 02:27 PM

Moved: This thread is more suitable in <Newbie> and has been moved accordingly to help your thread/question get the exposure it deserves.

pixellany 05-12-2009 02:32 PM

We are not going to do your homework......

But, before anyone can help you, you will need to get someone to help you with the English. For example, this is impossible to understand:
Quote:

My supervisor remind me to should shell script to make break about the log contain
I **think** you are using "contains" when you mean "contents". Assuming that's true, then the code you show is not doing anything with the contents of a log---it is simply getting the value of the variable "alert".

kpraveen455 05-13-2009 07:56 AM

Please be more clear....

And this time as pixellany suggested, Please be more careful (in terms of English)
while posting your queries.

Good luck:)


All times are GMT -5. The time now is 10:47 AM.