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 All,
I have a xml file for example as described below
<xml>
<address>
<street><street>
<address/>
<isbn>426728783932020308393930303</isbn>
<book>
<name>
</name>
</book>
.
.
.
</xml>
My problem is to get the isbn number from the above described file using ksh script. Could... (6 Replies)
Hi,
Am new to scripting. :)
Am trying to figure out whether can i use bash scripting to parse an xml file.
Parsing is not just pulling out information according to the pattern but its more of a generic parsing. I should identify the xml hierarchy and pull out information accordingly. It's not a... (2 Replies)
Hi
Is it possible to parse a posted xml data from a remote server in unix shell script. if so how to do that? and i need to give this script path in the push url (in remote server) . how to do this?
I have tried this in asp but could not succeed....so am trying in shell scripting...the thread... (1 Reply)
Hello,
I'm a starting shell scripter and no Perl knowledge. I've trying to do this for a while:
I want to parse an XML file and get certain data out of it and write that data into a CSV file, all this using Shell Scripting (in Bash). Or Perl without any XML Parser/Interpreter (if possible).
... (1 Reply)
Created a korn shell script, everything is is working except this section, the variable $SYSINFO is being set, but the NASIP & NASDEV are failing, it appears to be treating the config.xml file config directory and xml as the file. Need a second set of eyes to tell me where I am messing up.
#... (3 Replies)
Below is a XML I have...
<?xml version="1.0" encoding="UTF-8" ?>
<component
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:XXXXX-www-Install-Manifest manifest.xsd"
xmlns="urn:qqqqq-Install-Manifest"
name="OM"
... (1 Reply)
I have a xml file like this
<bul:collectionStrategy name="strategy1">
<bul:collectionTemplateGroup name="15min group"/>
<bul:collectionTemplateGroup name="hourly group"/>
</bul:collectionStrategy>
<bul:CollectionTemplateGroup name="hourly group" >
... (2 Replies)
Hi,
I have an XML file in Linux and it contains a long string of characters. The last part of the file is like
.......
.......
.......
CAD</MarketDescription></InvestorTransaction></AdvisorAccount></DivisionAdvisor></Division>... (3 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
oggz-comment
oggz-comment(1) General Commands Manual oggz-comment(1)NAME
oggz-comment -- List or edit comments in an Ogg file.
SYNOPSIS
oggz-comment [-l | --list ]
oggz-comment [-o filename | --output filename ] [-d | --delete ] [-a | --all ] [-s serialno | --serialno serialno ] [-c content-
type | --content-type content-type ] filename
oggz-comment [-h | --help ] [-v | --version ]
Description
oggz-comment lists or edits the comments of an Ogg file.
Options
oggz-comment accepts the following options:
Listing options
-l, --list
List the comments in the given file.
Editing options
-o filename, --output filename
Write output to the specified filename.
-d, --delete
Delete comments before editing.
-a, --all Edit comments for all logical bitstreams.
-c content-type, --content-type content-type
Edit comments of the logical bitstreams with specified content-type. Run oggz-known-codecs(1) for a full list of codecs known by
the installed version of oggz.
-s serialno, --serialno serialno
Edit comments of the logical bitstream with specified serialno.
Miscellaneous options
-h, --help
Display usage information and exit.
-v, --version
Output version information and exit.
EXAMPLES
List all comments in file.ogg:
oggz comment -l file.ogg
List only the comments in the Theora bitstream in file.ogv:
oggz comment -l -c theora file.ogv
Add the comment "GENRE=Rock" to the Vorbis bitstream of file.ogv, writing output to output.ogv:
oggz comment -c vorbis -o output.ogv file.ogg GENRE=Rock
AUTHOR
Kangyuan Niu August 5, 2007;
COPYRIGHT
Copyright (C) 2007 Annodex Association
SEE ALSO vorbiscomment(1), ogginfo(1), oggz-info(1), hogg(1)oggz-comment(1)