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)
Hi All,
My requirement is create an unix script to parse the xml file and display the values of the Elements/value between the tags on console. Like say, I would like to fetch the value of errorCode from the below xml which is 'U007' and display it. Can we use SED command for this? I have tried... (10 Replies)
Hi,
It's been a few years since college when I did stuff like this all the time. Can someone help me figure out how to best tackle this problem? I need to parse a file full of entries that look like this:
<eq action="A" sectyType="0" symbol="PGR" exch="CA" curr="VEF" sess="NORM"... (7 Replies)
Hi All,
I have been working on something that doesn't seem to have a clear regex solution and I just wanted to run it by everyone to see if I could get some insight into the method of solving this problem.
I have a flat text file that contains billing records for users, however the records... (5 Replies)
Hi Everybody,
I have an XML file containing some data and i want to extract it, but the specific issue in my file is that the data is repeated some times like the following example :
<section1>
<subsection1>
X=...
Y=...
Z=...
<\subsection1>
<subsection2>
X=...
Y=...
Z=...... (2 Replies)
Hi,
I have to make an script according to these:
- I have couples of files like:
xxxxxxxxxxxxx.csv
xxxxxxxxxxxxx_desc.xml
- every xml file has diferent fields, but keeps this format:
........
<defaultName>2011-02-25T16:43:43.582Z</defaultName>
........... (2 Replies)
In the wake of the post: how-parse-following-xml-file
Thank you for the very useful chakrapani response 302355585-post4 !
A close question.
How to pass a file to xmllint in variable?
For example, let it be:
NEARLY_FILE='<?xml version="1.0" encoding="iso-8859-1"?><html><set label="09/07/29"... (0 Replies)
Hi,
Can anybody help to solve this. I want to parse some xmldata along with the URL in the Shell.
I'm calling the URL via the curl command
Given below is my shell script file
export... (7 Replies)
Hi
I have xml file with multiple records and would like to extract records from xml with specific condition if specific tag is present extract entire row otherwise skip .
<logentry revision="21510">
<author>mantest</author>
<date>2015-02-27</date>
<QC_ID>334566</QC_ID>... (12 Replies)
Discussion started by: madankumar.t@hp
12 Replies
LEARN ABOUT DEBIAN
clamav-unofficial-sigs
clamav-unofficial-sigs(8) SCRIPT COMMANDS clamav-unofficial-sigs(8)NAME
clamav-unofficial-sigs - Download, test, and install third-party ClamAV signature databases.
SYNOPSIS
clamav-unofficial-sigs [options]
DESCRIPTION
clamav-unofficial-sigs is a shell script that updates the Sanesecurity, SecuriteInfo, MalwarePatrol, OITC, INetMsg and ScamNailer third-
party signature databases for ClamAV.
OPTIONS
This script follows the standard GNU command line syntax. A summary of the options is shown below.
-b Add a bypass signature entry to local.ign in order to temporarily resolve a false-positive issue with a third-party signature. The
script will monitor any entries it makes to local.ign and will automatically remove bypass entries if either the original signature
has been modified or removed from the database.
-c FILE-NAME
Source configuration information from a different file.
-d Decode a hexadecimal encoded string or an individual ClamAV 3rd-party signature for viewing. This will not decode image signatures
nor the official signatures.
-e Encode a entire input string in hexadecimal for signature usage in any *.ndb database.
-f Encode a formated input string in hexadecimal that contains spacing field '{}, (), *', without encoding the spacing fields, for sig-
nature usage in any '*.ndb' database.
-g FILE-NAME
Verify the GPG signature for a specific SaneSecurity database file. Only specify the filename as listed in the configuration file
and the script will search for it in the work directory.
-h Print the script help and usage information.
-i Print system and script configuration information.
-m Make a hexadecimal signature database file (*.ndb) from a clear text ascii file. Provides support for both full and formatted sig-
natures. Additional information is provided when using the flag.
-r Remove the clamav-unofficial-sigs script and all of its associated files, databases and work directories from the system.
-s FILE-NAME
Test the integrity of a third-party signature database with clamscan. Only specify the filename as listed in the configuration file
and the script will search for it in the work directory.
-t If HAM directory scanning is enabled in the script's configuration file, then output the names of any third-party signatures that
triggered during the HAM directory scan.
-v Print the script version and date information.
SEE ALSO clamd(8), clamscan(1)COPYRIGHT
Bill Landry <bill@inetmsg.com>
LICENSE
BSD (Berkeley Software Distribution)
BUGS
Report bugs to Bill Landry <bill@inetmsg.com>
AUTHOR
Bill Landry <bill@inetmsg.com>
Version 3.7.1 June 6, 2010 clamav-unofficial-sigs(8)