I am trying to use a line of output in an XML file as input in another new XML file for processing purposes via a shell script. Since I am a newbie though, I'm not sure how to do this since the data is different everytime. I am using this technique with static data right now:
echo -n "Running... (5 Replies)
Hi I need to parse the following data using shell script
Table
-----
stage4n_abc 48
stage4o_abcd 4
adashpg_abc_HeartBeat 1
stage4l_asc 168
Can anyone gimme the solution.
I want each value to get stored in an array or variable and want the value to be greped from another file.... (1 Reply)
Hi,
I am doing some data parsing for some economics research. I was recently exposed to shell script and am brand new to awk. I have a large csv file (like 10G) and I would like to make it a lot smaller with awk, but it is a bit tricky for me and I haven't been able to get it yet. I would... (5 Replies)
Hi all , I have a file with billing CDR records in it. I need to parse that information (row format) . The purpose is to compare full content. The example I have given below is a single line record but it has two portions, (1) the line start with “!” and end with “1.2.1.8” and (2) second part... (5 Replies)
Hello
I want to convert my cron list into a csv
Can you please help me with sed ?
eg:
Convert
#06,21,36,51 * * 1,2 * (. ~/.profile ; timex /some/path/script -30 -15) >> /some/path/logfile2 2>&1
* * * * * (. ~/.profile ; timex /some/path/script2) > /some/path/logfile2
To:... (1 Reply)
Hi friends,
I need to parse the following data in the given format and get the desired output. I need a function, which takes the input as a parameter and the desired output will be returned from the function.
INPUT(single parameter as complete string)
A;BCF;DFG;FD
... (3 Replies)
Hi,
I do have a data file which is divided into compartments by ---------. I would like to extract (parse) some of the data and numbers either using awk or sed
The file has the format:
CATGC
Best GO enrichment:
Genes/ORF that have the motifs (genes are sorted by max(pa+pd+po)):
... (6 Replies)
Experts ,
Below is the data:
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 8
Total PE 4350
Free PE 2036
Allocated PE 2314
Stale PE 0
IO Timeout (Seconds) default
--- Physical volumes ---... (5 Replies)
Hi folks
I have a script I wrote that basically parses a bunch of config and xml files works out were to add in the new content then spits out the data into a new file.
It all works - apart from the xml and config file format in the new file
with XML files the original XML (that ends up in... (2 Replies)
Discussion started by: dfinch
2 Replies
LEARN ABOUT DEBIAN
smptetime
SMPTETime(3) libltcsmpte SMPTETime(3)NAME
SMPTETime -
Human readable time representation.
SYNOPSIS
#include <ltcsmpte.h>
Data Fields
char timezone [6]
unsigned char years
unsigned char months
unsigned char days
unsigned char hours
unsigned char mins
unsigned char secs
unsigned char frame
Detailed Description
Human readable time representation.
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 179 of file ltcsmpte.h.
Field Documentation
unsigned char SMPTETime::days
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 184 of file ltcsmpte.h.
unsigned char SMPTETime::frame
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 189 of file ltcsmpte.h.
unsigned char SMPTETime::hours
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 186 of file ltcsmpte.h.
unsigned char SMPTETime::mins
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 187 of file ltcsmpte.h.
unsigned char SMPTETime::months
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 183 of file ltcsmpte.h.
unsigned char SMPTETime::secs
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 188 of file ltcsmpte.h.
char SMPTETime::timezone[6]
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 181 of file ltcsmpte.h.
unsigned char SMPTETime::years
Examples:
tests/decoder.c, and tests/encoder.c.
Definition at line 182 of file ltcsmpte.h.
Author
Generated automatically by Doxygen for libltcsmpte from the source code.
Version 0.4.4 Fri Apr 27 2012 SMPTETime(3)