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)
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)
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 folks,
Need some help with XML to text file parsing , the following is the content of the XML File.
<xn:SubNetwork id="SNJNPRZDCR0R03">
<xn:MeContext id="PRSJU0005">
<xn:VsDataContainer id="PRSJU0005">
<xn:attributes>
... (6 Replies)
Well, issue is i have to parse this script to get the VERSION:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleAllowMixedLocalizations</key>
... (9 Replies)
Hi,
I want to parse an XML File using Shell Script preferably by using awk command,
I/P file is :
<gn:ExternalGsmCell id="016P3A">
<gn:attributes>
<gn:mnc>410</gn:mnc>
<gn:mcc>310</gn:mcc>
<gn:lac>8016</gn:lac>
... (2 Replies)
Hello,
I want to know which shell scripting language (like AWk, Perl or any other) is the best for parsing and editing
1) space or Comma Separated Datsets
2) XML type Datasets. (1 Reply)
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 OSF1
xrefresh
xrefresh(1X)xrefresh(1X)NAME
xrefresh - refresh all or part of an X screen
SYNOPSIS
xrefresh [-option...]
OPTIONS
Use a white background. The screen just appears to flash quickly, and then repaint. Use a black background (in effect, turning off all of
the electron guns to the tube). This can be somewhat disorienting as everything goes black for a moment. Use a solid background of the
specified color. Try green. Use the root window background. This is the default. All of the windows simply repaint. Specifies the por-
tion of the screen to be repainted; see X(1X). This argument allows you to specify the server and screen to refresh; see X(1X).
DESCRIPTION
xrefresh is a simple X program that causes all or part of your screen to be repainted. This is useful when system messages have messed up
your screen. xrefresh maps a window on top of the desired area of the screen and then immediately unmaps it, causing refresh events to be
sent to all applications. By default, a window with no background is used, causing all applications to repaint "smoothly." However, the
various options can be used to indicate that a solid background (of any color) or the root window background should be used instead.
X DEFAULTS
The xrefresh program uses the routine XGetDefault(3X11) to read defaults, so its resource names are all capitalized. Determines what sort
of window background to use. Determines the area to refresh. Not very useful.
ENVIRONMENT
To get default host and display number.
BUGS
It should have just one default type for the background.
SEE ALSO X(1X)AUTHORS
Jim Gettys, Digital Equipment Corp., MIT Project Athena
xrefresh(1X)