Dear Expert,
Need your advise where my mistaken.
trying for make combine line with "key" but not working...
if input like this :
Part=BYN8592P_9NB01_S01 Section=9
Part=BYN8592P_9NB01_S02 Section=10
Part=BYN8592P_9NB01_S03 Section=11
Section=10 70000
Section=11 80000
Section=9 90000
and i expect to have result :
Part=BYN8592P_9NB01_S01 90000
Part=BYN8592P_9NB01_S02 70000
Part=BYN8592P_9NB01_S03 80000
i am try using AWK :
awk '/Part/{cell=$2;}/$1 == cell/{print cell,$1,$2}' gab.log
not give me any output..
Thanks alot if u have some clue to do..
//Levi
Need your advise where my mistaken.
trying for make combine line with "key" but not working...
if input like this :
Part=BYN8592P_9NB01_S01 Section=9
Part=BYN8592P_9NB01_S02 Section=10
Part=BYN8592P_9NB01_S03 Section=11
Section=10 70000
Section=11 80000
Section=9 90000
and i expect to have result :
Part=BYN8592P_9NB01_S01 90000
Part=BYN8592P_9NB01_S02 70000
Part=BYN8592P_9NB01_S03 80000
i am try using AWK :
awk '/Part/{cell=$2;}/$1 == cell/{print cell,$1,$2}' gab.log
not give me any output..
Thanks alot if u have some clue to do..
//Levi