Hi All,
I'm trying to extract the values for the 'src' and 'alt' tags within an xml file. In the files that I'm searching, the tags are always enclosed within an 'img' tag. Typically:
<img src="diwiz01.gif" width="576" height="254" alt="Out-of-process and In-process COM Objects"><bookmark... (3 Replies)
Hi All,
I am new to Unix I need a KSH script to get the values from XML file to write to a temp file.
Like the requirement is from the below TAG
<MAPPING DESCRIPTION ="Test Mapping" ISVALID ="YES" NAME ="m_test_xml" OBJECTVERSION ="1" VERSIONNUMBER ="1">
I need the MAPPING DESCRIPTION... (3 Replies)
Hi All,
Find the following code:
<Universal>D38x82j1JJ
</Universal>
I want to retrieve the value of <Universal> tag as below:
Please help me. (3 Replies)
Find out values between xml tag
.......
ABC><name></ABC><xyz>test</xyz>..here some other tag... <ABC><NUMBER></ABC><xyz>12345</xyz>....
.......
I want to take between bewtween ABC><NUMBER></ABC><xyz> to </xyz> that is 12345 (3 Replies)
I want to print from <fruits> to </fruits> tag which have <fruit> as mango. Also i want both <fruits> and </fruits> in output. Please help
eg.
<fruits>
<fruit id="111">mango<fruit>
.
another 20 lines
.
</fruits> (3 Replies)
Hi Guys
Here is my Input :
<?xml version="1.0" encoding="UTF-8"?>
<xn:MeContext id="01736">
<xn:VsDataContainer id="01736">
<xn:attributes>
<xn:vsDataType>vsDataMeContext</xn:vsDataType>
... (12 Replies)
Hi All,
I am working with a XML file.
Below is part for the file.
<Emp:Profile>
<Emp:Description>Admin</Emp:Description>
<Emp:Id>12347</Emp:Id>
</Emp:Profile>
<Emp:Profile>
... (7 Replies)
Hi All,
I'm new to sed.
In following XML file
<interface type='direct'>
<mac address='52:54:00:86:ce:f6'/>
<source dev='eno1' mode='bridge'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
... (8 Replies)
Greetings all,
I have an XML file that is being generated from my application, here is a sample of the first tag (That I am trying to remove and display in a list..)
Example-
<tag one= "data" data="1234" updateTime="1300">
<tag one= "data1" data="1234" updateTime="1300">
<tag... (5 Replies)
Hi Forum.
I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script.
Any feedback will be greatly appreciated.
... (19 Replies)
Discussion started by: pchang
19 Replies
LEARN ABOUT DEBIAN
taggrepper
TAGGREPPER(1) User Commands TAGGREPPER(1)NAME
taggrepper - search and match tags of media file for regular expressions
SYNOPSIS
taggrepper [--tag-label regexp]... [--display-taglabel]... [FILE/DIRECTORY]...
DESCRIPTION
Perform a regular expression search on the tags of specified media files.
Mandatory arguments to long options are mandatory for short options too. All regular expressions are Perl Compatible Regular expressions
supported by the PCRE libraries. Note that all matches are ANDed, meaning that for a successful match, matches against all tags must occur.
Support exists for MP3 files, and, if compiled in, for Ogg Vorbis and FLAC files as well.
-t, --title=REGEXP
Match the title tag against REGEXP
-a, --artist=REGEXP
Match the artist tag against REGEXP
-l, --album=REGEXP
Match the album, tag against REGEXP
-y, --year=REGEXP
Match the year tag against REGEXP
-g, --genre=REGEXP
Match the genre tag against REGEXP
-c, --comment=REGEXP
Match the comment tag against REGEXP
--track=REGEXP
Match the track tag against REGEXP
-c, --composer=REGEXP
Match the composer tag against REGEXP
-o, --orig-artist=REGEXP
Match the original artist tag against REGEXP
-c, --copyright=REGEXP
Match the copyright tag against REGEXP
-u, --url=REGEXP
Match the URL tag against REGEXP
-e, --encoded-by=REGEXP
Match the encoded-by tag against REGEXP
--any-tag=REGEXP
Match the encoded-by tag against REGEXP. Using this option makes every one of the above options to be ignored
--display-title
display title tag of matching files
--display-artist
display artist tag of matching files
--display-album
display album tag of matching files
--display-year
display year tag of matching files
--display-genre
display genre tag of matching files
--display-comment
display comment tag of matching files
--display-track
display track tag of matching files
--display-composer
display composer tag of matching files
--display-orig-artist
display orig-artist tag of matching files
--display-copyright
display copyright tag of matching files
--display-url
display url tag of matching files
--display-encoded-by
display encoded-by tag of matching files
-0, --print0,
Use null character as delimiter. This option can be used with -0 option of xargs.
-r, --recursive
Search directories recursively
-v, --version
Display version and exit
-h, --help
Display this help message
All regular expressions are PCRE regular expressions. Refer to the PCRE documentation for details. Report comments and bugs to
a.kumar@alumni.iitm.ac.in
COPYING
Copyright (C) Kumar Appaiah
License: BSD License (see COPYING file in the distribution tarball for details)
This program is free software; you can distribute it under the terms of the BSD License. See the file COPYING in the tarball, or
/usr/share/common-licenses/BSD on Debian-based systems.
SEE ALSO pcre(3)taggrepper 0.01 July 2009 TAGGREPPER(1)