shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Busca 6a. linha após string


From: André Luiz Alves da Silva Prates
Subject: Busca 6a. linha após string
Date: Mon, 29 Mar 2004 18:00:16 -0300

Caros colegas,
 
Mais uma vez preciso da ajuda de vcs. Tenho este log e preciso de uma maneira 
que o conteúdo da sexta linha após a string informada. Ex.: 
 
Segue log:
 
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><send_opsc_new()><Begin>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><ElabDb()><Begin>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><ElabDb()><TID[0]:1278696 - 
TID[1]:1080316328 - TID[2]:13853>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><ElabDb()><pid:001382E8406451A80000361D>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><count_ttemp_rtg()><Begin>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><count_ttemp_rtg()><rec_found_1=1>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><count_ttemp_rtg()><End>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><insert_ttemp_rtg()><Begin>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><insert_ttemp_rtg()><wk_data_scad_2acc:
        000000>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><insert_ttemp_rtg()><START 
INSERT ...>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><insert_ttemp_rtg()><End>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><ElabDb()><End>
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><BuildMessageOpsc()><Begin>
0 - <12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><BuildMessageOpsc()><Msg 
to OPSC:SUBSYS_SID    4199999999      0.00>
1 - <12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><BuildMessageOpsc()><End>
2 - <12:52:08><RJODIGA01><1278696><mai_dsf_notify><T><SendRcvMessage()><Begin>
3 - 
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><SendRcvMessage()><rtg_servizi:33554432
  >
4 - 
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><SendRcvMessage()><appdep1:33554432>
5 - <12:53:04><RJODIGA01><1278696><mai_dsf_notify><I><SendRcvMessage()><CMI 
Return:0>
6 - 
<12:53:04><RJODIGA01><1278696><mai_dsf_notify><E><CheckResponse()><MSG_COD=-1000;-1015>
<12:53:04><RJODIGA01><1278696><mai_dsf_notify><F><SendRcvMessage()><OPSC 
Error:INFOBUS - Timeout no recebimento (-1051) majorC
ode=-1000 minorCode=-1015>
<12:53:04><RJODIGA01><1278696><mai_dsf_notify><T><send_opsc_new()><End (Error)>
<12:53:04><RJODIGA01><1278696><mai_dsf_notify><I><SNDADSER()><OPERATION 
ROLLBACK>
<12:53:04><RJODIGA01><1278696><mai_dsf_notify><T><SNDADSER()><End (error)>
 
----------
 
 
script.sh 4199999999
<12:52:08><RJODIGA01><1278696><mai_dsf_notify><I><BuildMessageOpsc()><Msg to 
OPSC:SUBSYS_SID    4199999999      0.00>
<12:53:04><RJODIGA01><1278696><mai_dsf_notify><E><CheckResponse()><MSG_COD=-1000;-1015>
 
 
Por favor, qualquer dica que me ajude, já serve.
 
Obrigado
 
 
André Prates
*address@hidden <mailto:*address@hidden> 
        
 


[As partes desta mensagem que não continham texto foram removidas]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]