Search Results

Search: Posts Made By: Lakshmikumari
1,236
Posted By RudiC
Try alsoawk '/^INFO:/ {sub (/^.*now...
Try alsoawk '/^INFO:/ {sub (/^.*now /,""); printf "%s ", $0}
/^-----/ {sub (/^.*=/, ""); printf "%s ", $0}
/^INFO / {sub (/,$/, "", $10); printf "%s\n", $10}...
1,236
Posted By RavinderSingh13
Hello LakshmiKumari, Following may help you...
Hello LakshmiKumari,

Following may help you in same.

awk -F, '/INFO: processing now/{match($0,/[0-9][0-9]\/.*/);A=substr($0,RSTART,RLENGTH);}{if($0 ~ /^-/){gsub(/.*table=/,X,$0);A=A OFS...
1,236
Posted By blackrageous
This works... file a.awk contains ...
This works...

file a.awk contains


/^INFO:/ {
dateTimeSTART=$4
dateTimeEND=$5
}
/^-----/ {
split($0,a,"=")
table=a[2]
}
/^INFO / {
...
10,938
Posted By RavinderSingh13
Hello Lakshmikumari, Following is the...
Hello Lakshmikumari,

Following is the explaination for same, hope this helps.

awk '/^<logentry revision=/{A=1} ###### Search for text <logentry revision= then set a variable named A to...
Showing results 1 to 4 of 4

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