CFanatic

Go Back   CFanatic > Programming > Shell Scripting

Join CFanatic Forum Now

looking for expert sed/script help for translation/substitution topic posted under Shell Scripting which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2010, 07:26 AM
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
hotbaws11 is on a distinguished road
| More
looking for expert sed/script help for translation/substitution

Hi All,

I'm looking for some expert help on sed/script to work out the best way to transform one xml format into another however there are a few complexities around translation.

The extra complexities are to:
1) take the start and stop time (YYYYMMDDHHMMSS) and convert to start time to unix time plus output the difference in seconds between both times.
2) oid, tsid and sid are found by looking up an external file and finding the value against the channel. For example one of the lines in the file will be 2:806:27e2=channel1

Is there any way to write piped sed commands that can do this? If not, any ideas how the script should look like?

Thanks in advance.




This is the title
This is the description
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request for expert service in Programming Neo Looking to hire 1 10-26-2010 07:17 AM
Shell script gsureshbabu Shell Scripting 0 08-28-2010 03:11 AM
Variable substitution in ksh array abrmhk Shell Scripting 0 08-28-2010 03:11 AM
FTP Script masifahmed Shell Scripting 0 08-28-2010 03:11 AM
Request for expert service in C++ User_m2vdvm C++ Programming 0 04-08-2007 10:39 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 04:25 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board