11-17-2008
10 More Discussions You Might Find Interesting
1. Linux
Hi All,
I have following example file
i want to remove all html tags only,
Input File:
<html>
<head>
<title>Software Solutions Inc., </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor=white leftmargin="0" topmargin="0"... (2 Replies)
Discussion started by: btech_raju
2 Replies
2. Shell Programming and Scripting
Hello,
is there a way to go through a file and remove certain html tags with bash? If it needs sed or awk, that'll do too.
The reason why I want this is, because I have a monitor script which generates a logfile in HTML and every time it generates a logfile, the tags are reproduced. The tags... (4 Replies)
Discussion started by: dejavu88
4 Replies
3. Shell Programming and Scripting
I have the following line:
4/23/2010 0:00:38.000: Copying $$3MSYDDC02$I would like to use sed (or similiar) to remove everthing between and including $ that appears in the line so it ends up like this.
4/23/2010 0:00:38.000: Copying 3MSYDDC02I have been trying these but i'm really just... (5 Replies)
Discussion started by: jelloir
5 Replies
4. Shell Programming and Scripting
Hi
I have a file which has aroun 200 line and it is like this:
GROUP2-WDI">GROUP2-WDI
GROUP3-WDI">GROUP3-WDI
KL2P0508BC">KL2P0508BC
KL2P0508BIT">KL2P0508BIT
KL3P0506BC">KL3P0506BC
KL3P0506BUS">KL3P0506BUS
KLD1F0507DBT">KLD1F0507DBT
KLD1F0507DIT">KLD1F0507DIT
KLD1F0510DBT">KLD1F0510DBT... (3 Replies)
Discussion started by: digitalmahdi
3 Replies
5. Shell Programming and Scripting
Hi there, I'm quite new to the forum and shell scripting.
I want to filter out the "166.0 points". The results, that i found in google / the forum search didn't helped me :(
<a href="/user/test" class="headitem menu" style="color:rgb(83,186,224);">test</a><a href="/points" class="headitem... (1 Reply)
Discussion started by: Mysthik
1 Replies
6. Shell Programming and Scripting
Could someone, please provide a solution to the following:
I would like to remove some tags from the "head" of multiple html documents across the web site. They look like
<link rel="alternate" type="application/rss+xml"
title="Business and Investment in the Philippines"... (2 Replies)
Discussion started by: georgi58
2 Replies
7. Shell Programming and Scripting
Hi,
I have a txt file which contain this:
<a href="linux">Linux</a>
<a href="unix">Unix</a>
<a href="oracle">Oracle</a>
<a href="perl">Perl</a>
I'm trying to extract the text in between these anchor tag and ignoring everything else using grep. I managed to ignore the tags but unable to... (6 Replies)
Discussion started by: KCApple
6 Replies
8. Shell Programming and Scripting
hello.
How to remove all characters in a line from first character ( a $ ) until and including the third occurrence of that character ( $ ).
Any help is welcome. (10 Replies)
Discussion started by: jcdole
10 Replies
9. Shell Programming and Scripting
I am trying to remove a multiline HTML tag and its contents from a few HTML files following the same basic pattern. So far using regex and sed have been unsuccessful. The HTML has a basic structure like this (with the normal HTML stuff around it):
<div id="div1">
<div class="div2">
<other... (4 Replies)
Discussion started by: threesixtyfive
4 Replies
10. Shell Programming and Scripting
Hello,
I could not remove brackets with text contents
myfile:
Please remove the bracket with text
I wish to remove:
I tried:
sed 's/\//' myfile
It gives:
Please remove the bracket with text A1
I expect:
Please remove the bracket with text
Many thanks
Boris (2 Replies)
Discussion started by: baris35
2 Replies
YASAT(8) YASAT 526 YASAT(8)
NAME
YASAT - simple stupid audit tool
SYNOPSIS
yasat [--standard(-s)] [--list(-l)] [--debug(-d)] [--help(-h)] [--html(-H)] [--html-output PATH] [--advice-lang LANG] [--full-scan(-f)]
[--plugins-dir(-P) PATH] [--nopause(-a)] [--plugin(-1) PATH] [--Plugin(-p) NAME] [--print-level X] [--check-update]
DESCRIPTION
YASAT (Yet Another Stupid Audit Tool) is a simple stupid audit tool. Its goal is to be as simple as possible with minimum binary dependen-
cies (only sed, grep and cut) Second goal is to document each test with maximum information and links to official documentation. It do
many tests for checking security configuration issue or others good practice.
It checks many software configurations like: Apache, Bind DNS, CUPS, PHP, kernel configuration, mysql, network configuration, openvpn,
Packages update, samba, snmpd, squid, tomcat, user accounting, vsftpd, xinetd,
OPTIONS
--standard (or -a)
YASAT will performs a standard check of the system, printing out the results of each test to stdout. A log is also created in
~/.yasat/yasat.result by default
--list (or -l)
List all plugins available
--html (or -H)
YASAT will export results in html (default to ~/yasat/yasat.html)
--html-output PATH
With -H, this option permit to change the file where to store html output.
--advice-lang LANG
By default, YASAT print message in english (EN), you can change the displayed lang with this option. LANG is the 2letter digit of
the lang you want. For the moment only EN is supported.
--full-scan (or -f)
YASAT will do extra (long) tests (lots of find).
--plugins-dir PATH (or -P)
Set the path where YASAT can find plugins to use. (default is ./plugins )
--nopause (or -a)
By default, YASAT made a pause after each plugin. For automatize tests you can use this.
--plugin PATH (or -1)
YASAT will just use the plugin pointed by PATH (ex: yasat -1 kernel)
--print-level x (or -1)
YASAT will print infos equal or above the level X (All = 0 (default), infos = 1 warnings(orange) = 2, errors(red) = 3
--skip TEST
A comma separated list of tests to skip without the .test (ex: --skip nfs,ntp). See yasat --list for all tests.
--check-update
Check if an update of YASAT exists
--send-support
Like --check-update, but it will send also as parameter your OS version for statistics. In the future, perhaps also a sort of
send_bugs.
LICENSING
YASAT is licensed under the GPL v3 license and under development by LABBE Corentin.
CONTACT INFORMATION
All contacts informations could be found at http://yasat.sourceforge.net/
526 21 May 2012 YASAT(8)