Search Results

Search: Posts Made By: bas
5,737
Posted By bas
Oops, It was Klashxx's script. My...
Oops,
It was Klashxx's script.

My apologies.
5,737
Posted By bas
Hi all, Thanks to everyone for their input. I...
Hi all,
Thanks to everyone for their input. I just modified ghostdog's script and it worked. Shows below

awk '
BEGIN {i=1}
{
vec[i]=$0
i++
if ( $0 ~ /failed/ ) {
for...
5,737
Posted By bas
Hi, My grep has a -b option. No -A -B or -p...
Hi,
My grep has a -b option. No -A -B or -p option exists.

I also used the awk code and it was the closest thing that's worked.... but the output shows.

data
data
data
data...
5,737
Posted By bas
Thanks for the reply Nick. The extract I...
Thanks for the reply Nick.

The extract I need does have a pattern of "========", but so do all the unwanted sections.

I didn't know I could put multiple lines into a buffer which may be of some...
5,737
Posted By bas
Extracting data from large logs.
Hi all,
I have a large log file that gets created daily.

I need to be able to pull text out of the log when I hit a pattern including the 7 lines above it and the 3 lines below and output it to...
Showing results 1 to 5 of 5

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