The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need help: how to send email with HIGH priority in shell scripts? _joshua_ Shell Programming and Scripting 2 03-13-2007 01:34 AM
high priority thread contains an infinite loop rvan High Level Programming 0 02-14-2007 09:30 AM
change priority of stream gogogo SUN Solaris 2 11-28-2006 11:11 PM
Sun: High kernel usage & very high load averages lorrainenineill UNIX for Advanced & Expert Users 4 02-06-2006 12:32 PM
change priority of packages RellioN UNIX for Dummies Questions & Answers 0 07-02-2005 02:50 AM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-28-2008
balaji_gopal balaji_gopal is offline
Registered User
  
 

Join Date: May 2008
Posts: 1
Please Help me with this ..High Priority!

Hi,

I am a nw bie to Schell Scripting, i have a same king of requirement as posted above.

my input file is also a log file as below.....

28.05.2008 07:02:56,105 [<anonymous>, NETB/CHG20931-5,NETB] INFO [] [ValidationTimeMeasurer] Validation request recieved

28.05.2008 07:03:57,856 [<anonymous>, NETB/CHG20931-5,NETB] INFO [] [ValidationTimeMeasurer] 0:01:13.998 Response sent with: <?xml version="1.0" encoding="ISO-8859-1"?>

<OMSMessage Version="">

<OMSTransport>

<CorrelationData>

<dispatcher>

<systemId>NETB</systemId>

<userId>sNetBusine</userId>

<supplierCode>NETB</supplierCode>

</dispatcher>

<supplierIdentifier>NETB/CHG20931-5</supplierIdentifier>

</CorrelationData>

</OMSTransport>

<OMSMessageHeader>

<Response/>

<Key>OMS</Key>

</OMSMessageHeader>

<OMSMessageBody>

<CreateProcessInstance.Response>

<Validation>Sucessfull</Validation>

</CreateProcessInstance.Response>

</OMSMessageBody>

</OMSMessage>

and my requirement is to extract 5 Columns for the below pattern of files to excel sheet.

Starttime - 28.05.2008 07:02:56,105

Information - <anonymous>, NETB/CHG20931-5,NETB(With this combination)

EndTime - 28.05.2008 07:03:57,856

Difference- 0:01:13.998

Information - xmlinfo

may i know how to write a Shell Script to do this,,,,,, Any help regarding this would be appreciable..........


Thanks & Best Regards,
Balaji Gopalakrishnan
 

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:14 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