Search Results

Search: Posts Made By: lavinia_f
2,138
Posted By lavinia_f
It worked. Thank you :D
It worked. Thank you :D
2,138
Posted By lavinia_f
Display few rows before and after the pattern is found
hi,
i'm trying to write a script in ksh that checks the build log for errors. I use egrep to serch for a pattern list. When the pattern is found i want to print 2 rows before and 2 rows after the...
1,750
Posted By lavinia_f
LAST_LOG is the file where i'm doing grep for...
LAST_LOG is the file where i'm doing grep for errors
in the function i am retriving the name of the last log created and assign it to LAST_LOG:
LAST_LOG=`ls -tr hbuild.log* | tail -1`

after...
1,750
Posted By lavinia_f
variable created base on other var value
hi,
i'm trying to create a script in ksh that will check build logs for errors.
i'm using a variable to hold the grep, somthing like:

grepErr=`echo "grep -i -e ' error ' -e ' errors ' -e...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy