Search Results

Search: Posts Made By: Saumitra Pandey
5,188
Posted By MadeInGermany
Something like this (untested) awk -F"|" ' ...
Something like this (untested)
awk -F"|" '
f==2 && $2~"SUCCESS" {print s RS $0; f=0}
f==1 && $2~"RESPONSE" {s=s RS $0; f=2}
$2~"REQUEST" {s=$0; f=1}
' file
23,129
Posted By Franklin52
Try this: awk -F"|" '$2 ~ "REQUEST"...
Try this:
awk -F"|" '$2 ~ "REQUEST" {s=$0;f=1;next} f && $2 ~ "RESPONSE" {print s RS $0;f=0}' file
Showing results 1 to 2 of 2

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