I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
Hai friends
I have a small doubt..
how can we use html tag in shell scripting
code :
echo "<html>"
echo "<body>"
echo " welcome to peace world "
echo "</body>"
echo "</html>"
output displayed like this:
<html>
<body>
welcome to peace world
</body>
</html> (5 Replies)
Guys,
I have a little script that I got of the internet and that I use in Squid to block ads.
I used that script with linux but now i have moved my servers to freebsd. I have a step learning curve there but it is fun: Back to the script issue.
The script used to work i with linux but... (15 Replies)
Hi everyone:
I want to extract string which is in between certain html tag.
e.g.
I tried with grep,cut, awk but could not find exact syntax for this one. :wall:
PS>Sorry about bad english. (8 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)
Hi
I am new to string extractions in shell script... I am trying to extract a string such as #1753 from html tag looks like below.
<a class="model-link tl-tr" href="lastSuccessfulBuild/">Last successful build (#1753), 40 min ago</a>
and want the value as
1753
Could someone help me to... (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)
I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help
File:
<xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies
LEARN ABOUT DEBIAN
bup-tag
bup-tag(1) General Commands Manual bup-tag(1)NAME
bup-tag - tag a commit in the bup repository
SYNOPSIS
bup tag
bup tag <tag name> <committish>
bup tag -d <tag name>
DESCRIPTION
bup tag lists, creates or deletes a tag in the bup repository.
A tag is an easy way to retreive a specific commit. It can be used to mark a specific backup for easier retrieval later.
When called without any arguments, the command lists all tags that can be found in the repository. When called with a tag name and a com-
mit ID or ref name, it creates a new tag with the given name, if it doesn't already exist, that points to the commit given in the second
argument. When called with '-d' and a tag name, it removes the given tag, if it exists.
bup exposes the contents of backups with current tags, via any command that lists or shows backups. They can be found under the /.tag
directory. For example, the 'ftp' command will show the tag named 'tag1' under /.tag/tag1.
Tags are also exposed under the branches from which they can be reached. For example, if you create a tag named 'important' under branch
'computerX', you will also be able to retrieve the contents of the backup that was tagged under /computerX/important. This is done as a
convenience, and should the branch 'computerX' be deleted, the contents of the tagged backup will be available through /.tag/important as
long as the tag is not deleted.
OPTIONS -d, --delete
delete a tag
EXAMPLE
$ bup tag new-puppet-version hostx-backup
$ bup tag
new-puppet-version
$ bup ftp "ls /.tag/new-puppet-version"
files..
$ bup tag -d new-puppet-version
SEE ALSO bup-save(1), bup-split(1), bup-ftp(1), bup-fuse(1), bup-web(1)BUP
Part of the bup(1) suite.
AUTHORS
Gabriel Filion <lelutin@gmail.com>.
Bup unknown-bup-tag(1)