The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pull a file from a remote server through a shell script sashankkrk UNIX for Dummies Questions & Answers 2 04-23-2008 05:13 PM
SED for XML's braindrain Shell Programming and Scripting 1 08-17-2007 11:16 AM
Novell won't pull a SCO - Register iBot UNIX and Linux RSS News 0 08-16-2007 06:20 PM
Can a shell script pull the first word (or nth word) off each line of a text file? tricky Shell Programming and Scripting 5 08-17-2006 07:29 AM
how to pull files from one machine to another jasongr Shell Programming and Scripting 5 11-28-2005 02:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2008
pb18798 pb18798 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 18
Thumbs up pull xml's from logs

Hi Frnds

I Want to pull xml's from logs based on the below condition.In each log having so many xml's it's taking so much of time to search all logs manually...can u please provide solution

USER:ECMINT CONV:GETARPLNICHUBTST
<CardNbr>376703134104004</CardNbr>
</Envelope>

Response XML:
</Envelope>


Description:
In each log having so many request and response xml's
each XML should be start with
USER:ECMINT CONV:GETARPLNICHUBTST
and some xml's having below tag <CardNbr>376703134104004</CardNbr>
and XML end with tag in request xml
</Envelope>

After request xml ...response xml will start some tags and should be end with again
</Envelope>
  #2 (permalink)  
Old 08-25-2008
Niroj Niroj is offline
Registered User
  
 

Join Date: Aug 2008
Location: Bangalore, INDIA
Posts: 55
Quote:
Originally Posted by pb18798 View Post
Hi Frnds

I Want to pull xml's from logs based on the below condition.In each log having so many xml's it's taking so much of time to search all logs manually...can u please provide solution

USER:ECMINT CONV:GETARPLNICHUBTST
<CardNbr>376703134104004</CardNbr>
</Envelope>

Response XML:
</Envelope>


Description:
In each log having so many request and response xml's
each XML should be start with
USER:ECMINT CONV:GETARPLNICHUBTST
and some xml's having below tag <CardNbr>376703134104004</CardNbr>
and XML end with tag in request xml
</Envelope>

After request xml ...response xml will start some tags and should be end with again
</Envelope>
I hv already posted 1 script ..chk whether it is helpful or not
plz chk the add given below:
http://www.unix.com/shell-programmin...#post302227903
  #3 (permalink)  
Old 08-25-2008
reborg's Avatar
reborg reborg is online now Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,240
Quote:
Originally Posted by Niroj View Post
I hv already posted 1 script ..chk whether it is helpful or not
plz chk the add given below:
http://www.unix.com/shell-programmin...#post302227903
Please read the rules. Complete words and sentences are required on this site.
  #4 (permalink)  
Old 08-25-2008
pb18798 pb18798 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 18
Could you please provide solution ....
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0