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.
This is the output from this section of the script.
Last edited by jim mcnamara; 05-26-2010 at 08:02 PM..
Reason: Code tags, please...
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)
Here's is an example of what I want to do:
var1="Horse "
var2="Cat "
var3="Fish "
for animals in "$var1" "$var2" "$var3"
do
set $animals
pet=$1
## Ok, now I want to get the values of $pet, but
## I want to retain the full length it was... (3 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
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)
I have the following XML
<Audit_Type>1</Audit_Type><Session_Id>34505863</Session_Id>
<StatementId>1</StatementId><EntryId>1</EntryId>
<Extended_Timestamp>2012-03-06T10:25:20.789459</Extended_Timestamp>
<DB_User>KASINIY</DB_User>
<OS_User>majohn1</OS_User><OS_Process>28636</OS_Process>... (3 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)
I am trying to parse the XML Google contact file using tools like xmllint and I even dived into the XSL Style Sheets using xsltproc but I get nowhere.
I can not supply any sample file as it contains private data but you can download your own contacts using this script:
#!/bin/sh
# imports... (9 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)
Hi,
Need help with parsing xml data in unix and place it in a csv file. My xml file looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<iwgroups>
<nextid value="128">
</nextid>
<iwgroup name="RXapproval" id="124" display-name="RXapproval"... (11 Replies)
Hi ,
I have data as below in a text file
{
'AAA' => {
'A1' => 'a1 comment',
'A2' => 'a2 comment'
},
'BBB' => {
'B1' => 'b1 comment'
},
'CCC' => {
'C1' => 'c1 comment',
'C2' => 'c2 comment',
'C3' => 'c3 comment'
'C4' => 'c4... (2 Replies)
Discussion started by: vivek d r
2 Replies
LEARN ABOUT DEBIAN
musetup-gtk
MUSETUP-GTK(1) Museek Daemon Plus MUSETUP-GTK(1)NAME
Musetup-GTK - PyGTK2 Configuration app for Museekd
SYNOPSIS
musetup-gtk [-c | --config <config-filename>] [-h | --help]
DESCRIPTION
Musetup-GTK is PyGTK2 GUI that configures museekd(1). There are two configuration modes:
Dialogs - under General Settings - that provide the most commonly configured options, including the adding of shared directories, via a
muscan frontend (add/removing & rescanning take effect immediately).
The Settings Tree allows you to modify all options and even remove entire settings nodes, so it is quite dangerous, and should be used with
much care.
After changes to settings you need to Save them from them be written to the config file.
OPTIONS
Musetup-GTK accepts the following options:
-c, --config <config-filename>
Selected Config's path and filename.
-h, --help
Display Help and exit.
EXAMPLE
To run this program the standard way type:
musetup-gtk
Alternativly you use a different config file with:
musetup-gtk -c config.xml
FILES
~/.museekd/config.xml
The default location for the museekd config file.
/usr/share/museek/museekd/config.xml.tmpl
Config file template that's used if no config exists.
AUTHORS
Code taken from musetup by Hyriand <hyriand@thegraveyard.org>
daelstorm <daelstorm@gmail.com>
SEE ALSO mucous(1)mulog(1)murmur(1)muscan(1)muscand(1)museekcontrol(1)museekd(1)museeq(1)musetup(1)daelstorm Release 0.2.0 MUSETUP-GTK(1)