09-13-2008
Thanks for reply - I entered the xml in to a file called file..
Then ran the script you provided but it just returned to command prompt with no output.... Do you know why?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to know the way. I have got parsing down some nodes. But I was unable to get the child node perfectly. If you have code please send it. It will be very useful for me. (0 Replies)
Discussion started by: girigopal
0 Replies
2. Shell Programming and Scripting
Hi,
I need to parse the following XML data enclosed in <a> </a> XML tag using shell script.
<X>
.....
</X>
<a>
<b>
<c>data1</c>
<c>data2</c>
</b>
<d>
<c>data3</c>
</d>
</a>
<XX>
...
</XX> (5 Replies)
Discussion started by: viki
5 Replies
3. Shell Programming and Scripting
Hello All,
I am new to this and I need to parse an XML file.
Here's the XML Input File:
<Report version="1.2">
<summary fatals="0" testcases="1" expected_fails="0" unexpected_passes="0" warnings="9" tests="21" errors="0" fails="1" passes="20" />
<testresult... (4 Replies)
Discussion started by: racbern
4 Replies
4. Shell Programming and Scripting
I have an task definition listing xml file that contains a list of tasks such as
<TASKLIST
<TASK definition="Completion date" id="Taskname1" Some other
<CODE name="Code12"
<Parameter pname="Dog" input="5.6" units="feet" etc /Parameter>
<Parameter... (3 Replies)
Discussion started by: MissI
3 Replies
5. Emergency UNIX and Linux Support
Hi,
I have the following file
Example.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<html><set label="09/07/29" value="1241.90"/>
</html>
Can any one help me in parsing this xml file
I want to retrive the attribute values of the tag set
Example I want to... (3 Replies)
Discussion started by: Raji_gadam
3 Replies
6. Shell Programming and Scripting
Hello all,
Given the following extract from a xml file with multiple <JOB> .... </JOB> entries
<JOB
APPLICATION="APP"
APR="0"
AUG="0"
AUTHOR="AUT"
AUTOARCH="0"
CMDLINE="/tmp/test1 %%var"
CONFIRM="1"
CREATION_DATE="20100430"
CREATION_TIME="130739"
... (2 Replies)
Discussion started by: cabrao
2 Replies
7. Programming
How do I get the field info for tags ID, NAME, DESCRIPTION. Below is my current code put I can't get beyond the first_child of the file.
use strict;
use warnings;
use XML::Simplehttp://images.intellitxt.com/ast/adTypes/icon1.png;
use... (1 Reply)
Discussion started by: leemalloy
1 Replies
8. UNIX for Dummies Questions & Answers
HI Guys,
Input .XML
<xn:MeContext id="L0307">
<xn:ManagedElement id="1">
<xn:VsDataContainer id="1">
<xn:attributes>
<xn:vsDataType>vsDataENodeBFunction</xn:vsDataType>
... (3 Replies)
Discussion started by: pareshkp
3 Replies
9. Shell Programming and Scripting
HI Guys
I have Below XML File :
<xn:SubNetwork id="XYZ">
<xn:SubNetwork id="C01">
<xn:MeContext id="CO1">
<xn:ManagedElement id="1">
<un:RncFunction id="1">
<un:UtranCell id="NY431">
... (2 Replies)
Discussion started by: pareshkp
2 Replies
10. Shell Programming and Scripting
I am trying to create a shell script that will parse an xml file (file attached).
awk '/Id v=/ { print }' Test.xml | sed 's!<Id v=\"\(.*\)\"/>!\1!' > output.txt
An output.txt file is created but it is empty. It should contain the value 222159 in it. Thanks. (7 Replies)
Discussion started by: cmccabe
7 Replies
LEARN ABOUT XFREE86
seesat5
seesat5(1) General Commands Manual seesat5(1)
NAME
seesat5 - provides satellite visibility information.
SYNOPSIS
seesat5 [ report ] [ go <Label> ] | [ <command> ... ]
DESCRIPTION
This program uses the sgp4 algorithm provided by NORAD to produce position information on a satellite. Seesat5 can produce tracking infor-
mation for one satellite over a period of several days, or for a collection of satellites over that period. By providing filter conditions
seesat5 prints out only those satellites you might have a chance to see rather than all the satellites that pass above the horizon.
Seesat5 is typically run by placing control commands into an init file called SEESAT5.INI. See seesat5 (7) for the description of these
commands. If there is no init file Seesat5 will present the operator with a '>' prompt where commands can be entered. From the prompt
seesat5 will begin analysis when sufficient parameters have been entered to begin the run.
Seesat5 uses selection conditions to filter the data so that only high and bright satellites are printed. Note that the selection condi-
tions are used to select whether or not the current passes data will be printed. If it is printed, then the complete pass data is printed.
ie. all data from when the satellite comes over the horizon until it goes below.
For lines that satisfied ALL the selection conditions, a "+" sign is printed as the first character.
Options
report This option will disable printing of report records in the output of the run. These include all command lines found in SEESAT5.INI
or entered from the command line or the prompt.
go Followed by a label, this option causes branching within the SEESAT5.INI to begin execution at the line following label. Branching
occurs when the cmdline command is executed in the SEESAT5.INI file.
command
Most of the commands that can be found in SEESAT5.INI can be entered on the command line. If you desire the SEESAT5.INI file to exe-
cute after the command line be sure to make the last command RET.
FILES
SEESAT5.INI
The control file for seesat5
*.tle Two line element files used by seesat5.
SEE ALSO
seesat5(7), SEESAT5.INI(5), tle(5), cr(1)
BUGS
Seesat5 is not always able to check data integrity. Since computation and output is driven by the data in the two line element, subtle
errors in a tle can cause floating point exceptions. In addition there are several commands that do not work well together, like SHOWTLE
and RUNTIME. Please report any problems with seesat5 to Dale Scheetz <dwarf@polaris.net>.
Debian Linux 28 March 96 seesat5(1)