Skip to content
Commits on Source (14)
#!/bin/bash
[ -z $SITE ] && SITE=event
which sudo >/dev/null 2>&1 && SUDO=sudo || SUDO=
BASE=$(pwd)
#
# Install to /usr/local/nagvis
#
$SUDO ./install.sh -a y -q -r -F -c y \
-W /nagvis -n /usr/local/nagios \
-i mklivestatus -p /usr/local/nagvis \
-u www-data -g www-data \
-w /etc/apache2/conf.d \
-l unix:/omd/sites/muc/tmp/run/live
$SUDO rm -f /etc/apache2/conf.d/nagvis.conf.*
#
# Install to omd site local/
#
$SUDO su - $SITE -c "[ ! -d /omd/sites/$SITE/nvsrc ] && mkdir /omd/sites/$SITE/nvsrc || rm -rf /omd/sites/$SITE/nvsrc; \
cd $BASE ; \
rsync --filter='- .git' --filter='- .*.swp' -a ./ /omd/sites/$SITE/nvsrc/ ; \
cd /omd/sites/$SITE/nvsrc/ ; \
yes y | ./omd_install.sh"
exit 0
# Exclude misc files
*.bak
*.swp
*~
*.tar.gz
.metadata
uifx/.settings
uifx/.actionScriptProperties
uifx/.flexProperties
uifx/.project
uifx/bin
uifx/bin-release
install.log
mache
# Exclude main configuration file
etc/nagvis.ini.php
# Exclude all maps except the demo maps
etc/maps/*.cfg
!etc/maps/demo*.cfg
# Exclude all maps except the default automap
etc/automaps/*.cfg
!etc/automaps/__automap.cfg
!etc/automaps/demo*.cfg
# Exclude all background images except the default
share/nagvis/images/maps/*.png
!share/nagvis/images/maps/demo_background.png
!share/nagvis/images/maps/nagvis-demo.png
!share/nagvis/images/maps/geomap-thumb.png
# Exclude all shapes except the default
share/nagvis/images/shapes/*.png
share/nagvis/images/shapes/*.jpg
share/nagvis/images/shapes/*.gif
!share/nagvis/images/shapes/demo*.png
# Exclude all header/hover/context templates except the default
share/nagvis/templates/*/*.html
share/nagvis/templates/*/*.css
!share/nagvis/templates/*/tmpl.default.html
!share/nagvis/templates/*/tmpl.default.css
# Exclude all gadgets except the default
share/nagvis/gadgets/*.php
!share/nagvis/gadgets/std_speedometer.php
# Exclude all var contents
var/*
......@@ -278,63 +278,3 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
\ No newline at end of file
This diff is collapsed.
==============================================================================
NagVis 1.6 Quick Installation Instructions
==============================================================================
Author: Andreas Husch, Lars Michelsen
Document Version: 0.7
Date: 2011-04-02
Applies to: NagVis 1.4 - 1.6
==============================================================================
1. Download NagVis
--------------------
Get NagVis. The latest release can be found at www.nagvis.org.
2. Unpack NagVis
--------------------
Unpack the archive to a temporary place (for example /tmp). And change to that
directory
> tar xvzf nagvis-1.6*.tar.gz /tmp
> cd /tmp/nagvis-1.6*
3. Make installer executable
--------------------
The installer is located in the root directory of the NagVis package. The
installer has to be made executable before you can use it.
> chmod +x install.sh
4. Run installer
--------------------
Now you can run the installer.
> ./install.sh
Following the instructions of the installer should lead you to a working
installation of NagVis. If you experience any problems please let us know.
5. Cleanup
--------------------
You can remove the sources after installation.
> rm -rf /tmp/nagvis-1.6*
6. Additional information
--------------------
6.1 Command line parameters
------------------
For details about the command line parameters call the installer with the "-h"
option.
==============================================================================
Have fun using NagVis and please report bugs!
==============================================================================
==============================================================================
NagVis 1.6 Readme
==============================================================================
Author: Lars Michelsen
Date: 2011-04-02
==============================================================================
README
------------------
Home of the official documentation: http://www.nagvis.org/doc
INSTALL
------------------
Please have a look at the "INSTALL" file or visit the online
documentation on the official NagVis Homepage (http://www.nagvis.org/doc).
SUPPORT
------------------
There are many ways to get in touch with the NagVis team/community. For a
detailed list just have a look at http://www.nagvis.org/support.
# NagVis - Visualize monitoring data
NagVis is a program for visualizing the data the monitoring core of your choice,
for example Nagios, Naemon, Icinga or Shinken, in a human friendly way.
Instead of rendering all your data in flat tables of hosts and service data
which do not tell the user anything about relations between the object, in
NagVis you can create a view on your objects which makes even non technical
users understand the relations beteen your systems and services. This way
visualized it is easy for the users to realize which components are affected by
an occuring problem.
Besides manually created maps it is possible the create so called automaps
which visualize the parent/child relations between hosts or geomaps which
are meant to show objects based on the geographical coordinates. These
maps are currently only meant to be static, there is no browsing or zooming
possible like in Open Street Map or Google Maps.
## Installation
### OMD
There are different ways to install NagVis. The *best* way to an easily
maintainable monitoring environment is to use [OMD](http://omdistro.org), the
Open Monitoring Distribution. Everything you need comes in a single package.
You will be ready to monitor within just a couple of minutes.
### Manual installation
The *classic* way is to install NagVis is to use the installer script which
will ask you a couple of questions and then tries to do the right thing to
provide you with a working installation.
First you need to download NagVis. The released versions can be found on
[nagvis.org](http://nagvis.org/).
Unpack the archive to a temporary place (for example /tmp), then change to
that directory.
```
# tar xvzf nagvis-1.*.tar.gz /tmp
# cd /tmp/nagvis-1.*
```
Now execute the installer and follow the instructions.
```
# ./install.sh
```
Once you are finished with the installer, you can remove the source directory.
```
# rm -rf /tmp/nagvis-1.*
```
*Hint:* The installer can be called with command line parameters to e.g.
avoid interactive questions during installation. For details launch the
installer with the `-h` option.
## Get support
There are many ways to get in touch with the NagVis team and community. For a
detailed list just have a look at the [support page](http://nagvis.org/support).
Besides the free community support it is also possible to get paid services
for NagVis. We offer different types of services like for example custom
developement and support contracts.
for NagVis. For example, if you need an extension for NagVis or assistance
in customizing NagVis, feel free to [contact us](http://nagvis.org/contact).
## Reporting Bugs, Feature Requests
BUGS
------------------
You found a bug in NagVis? The best way to submit the bug report is the
NagVis-Developers-Mailinglist (nagvis-devel@lists.sourceforge.net).
[GitHub issue tracker](https://github.com/NagVis/nagvis/issues)
## Licensing
LICENSE
------------------
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License version 2 as published by the
Free Software Foundation.
For details please have a look at the "LICENCE" file.
For details please have a look at the *COPYING* file.
==============================================================================
Have fun using NagVis and please report bugs!
==============================================================================
*Have fun using NagVis and please report bugs!*
This diff is collapsed.
nagvis (1:1.7.10+dfsg1-4) UNRELEASED; urgency=medium
nagvis (1:1.9.10-1) unstable; urgency=medium
* Team upload.
[ Bas Couwenberg ]
* Update watch file for move to GitHub.
* Bump Standards-Version to 4.2.1, no changes.
-- Bas Couwenberg <sebastic@debian.org> Sat, 24 Dec 2016 17:16:29 +0100
[ Sebastien Delafond ]
* Imported Debian patch 1:1.7.10+dfsg1-3.2
* Update php-gettext link
* Add Files-Excluded to debian/copyright, even though those files are
gone in 1.9.x: this will make further repacking more straightforward,
should it be needed
* Add repacksuffix to debian/watch
* New upstream version 1.9.10 (Closes: #893723, #903706)
* Use db_stop at the end of postinst (Closes: #858042)
* Add pt_BR translation (Closes: #903369)
* Update Vcs-* URLs to point to salsa
-- Sebastien Delafond <seb@debian.org> Wed, 12 Dec 2018 07:46:19 +0100
nagvis (1:1.7.10+dfsg1-3.2) UNRELEASED; urgency=medium
* Non-maintainer upload.
* Fixed broken symlink php-gettext-1.0.9 (closes: #857779)
-- Michael Ott <kc.videri@gmail.com> Fri, 17 Mar 2017 20:24:19 +0100
nagvis (1:1.7.10+dfsg1-3.1) unstable; urgency=medium
......
......@@ -10,8 +10,8 @@ Build-Depends: debhelper (>= 7.0.50~),
po-debconf
Standards-Version: 4.2.1
Homepage: http://www.nagvis.org
Vcs-Git: git://anonscm.debian.org/pkg-nagios/pkg-nagvis.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-nagios/pkg-nagvis.git;a=summary
Vcs-Git: https://salsa.debian.org/nagios-team/pkg-nagvis.git
Vcs-Browser: https://salsa.debian.org/nagios-team/pkg-nagvis
Package: nagvis
Architecture: all
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: NagVis
Source: http://sourceforge.net/projects/nagvis/files/
Files-Excluded: uifx share/netmap/shell.html share/netmap/shell.swf share/netmap/modules/gmap
Files: *
Copyright: Copyright 2007-2013, Lars Michelsen <lars@vertical-visions.de>
......
......@@ -3,7 +3,7 @@
/usr/share/nagvis/docs /usr/share/nagvis/share/docs
/etc/nagvis /usr/share/nagvis/etc
/var/cache/nagvis /usr/share/nagvis/var
/usr/share/php/php-gettext /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.9
/usr/share/php/php-php-gettext /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12
/usr/share/nagvis/defaults/nagvis.ini.php-sample /usr/share/doc/nagvis/nagvis.ini.php-sample
/usr/share/nagvis/defaults/apache2-nagvis.conf-sample /usr/share/doc/nagvis/apache2-nagvis.conf-sample
etc/nagvis/apache2.conf etc/apache2/conf-available/nagvis.conf
......@@ -198,6 +198,8 @@ case "$1" in
;;
esac
db_stop
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
......
Description: Change nagvis config paths for Debian
Author: Alexander Reichle-Schmehl <tolimar@debian.org>
From: Alexander Reichle-Schmehl <tolimar@debian.org>
Date: Wed, 12 Dec 2018 07:53:28 +0100
Subject: Change nagvis config paths for Debian
Reviewed-by: Markus Frosch <markus@lazyfrosch.de>
Last-Update: 2013-12-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/share/server/core/defines/global.php
+++ b/share/server/core/defines/global.php
@@ -79,11 +79,11 @@
// The last value wins.
//
// Path to the main configuration file
-define('CONST_MAINCFG', '../../../etc/nagvis.ini.php');
-define('CONST_MAINCFG_CACHE', '../../../var/nagvis-conf');
+define('CONST_MAINCFG', '/etc/nagvis/nagvis.ini.php');
+define('CONST_MAINCFG_CACHE', '/var/cache/nagvis/nagvis-conf');
// Path to the main configuration conf.d directory
-define('CONST_MAINCFG_DIR', '../../../etc/conf.d');
+define('CONST_MAINCFG_DIR', '/etc/nagvis/conf.d');
share/server/core/classes/GlobalMainCfg.php | 10 +++++-----
share/server/core/defines/global.php | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
// The directory below the NagVis root which is shared by the webserver
define('HTDOCS_DIR', 'share');
diff --git a/share/server/core/classes/GlobalMainCfg.php b/share/server/core/classes/GlobalMainCfg.php
index 65e5ecb..2460503 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -1344,10 +1344,10 @@
* @author Lars Michelsen <lars@vertical-visions.de>
@@ -1604,11 +1604,11 @@ class GlobalMainCfg {
* @author Lars Michelsen <lm@larsmichelsen.com>
*/
private function setPathsByBase($base, $htmlBase) {
- $this->validConfig['paths']['cfg']['default'] = $base.'etc/';
- $this->validConfig['paths']['mapcfg']['default'] = $base.'etc/maps/';
- $this->validConfig['paths']['geomap']['default'] = $base.'etc/geomap';
- $this->validConfig['paths']['profiles']['default'] = $base.'etc/profiles';
- $this->validConfig['global']['authorisation_group_perms_file']['default'] = $base.'etc/perms.db';
+ $this->validConfig['paths']['cfg']['default'] = '/etc/nagvis/';
+ $this->validConfig['paths']['mapcfg']['default'] = '/etc/nagvis/maps/';
+ $this->validConfig['paths']['geomap']['default'] = '/etc/nagvis/geomap';
+ $this->validConfig['paths']['profiles']['default'] = '/etc/nagvis/profiles';
+ $this->validConfig['global']['authorisation_group_perms_file']['default'] = '/etc/perms.db';
$this->validConfig['paths']['var']['default'] = $base.'var/';
$this->validConfig['paths']['sharedvar']['default'] = $base.HTDOCS_DIR.'/var/';
diff --git a/share/server/core/defines/global.php b/share/server/core/defines/global.php
index 983cd96..2778f28 100644
--- a/share/server/core/defines/global.php
+++ b/share/server/core/defines/global.php
@@ -75,11 +75,11 @@ define('DEBUGFILE', '../../../var/nagvis-debug.log');
// The last value wins.
//
// Path to the main configuration file
-define('CONST_MAINCFG', '../../../etc/nagvis.ini.php');
-define('CONST_MAINCFG_CACHE', '../../../var/nagvis-conf');
+define('CONST_MAINCFG', '/etc/nagvis/nagvis.ini.php');
+define('CONST_MAINCFG_CACHE', '/var/cache/nagvis/nagvis-conf');
// Path to the main configuration conf.d directory
-define('CONST_MAINCFG_DIR', '../../../etc/conf.d');
+define('CONST_MAINCFG_DIR', '/etc/nagvis/conf.d');
// The directory below the NagVis root which is shared by the webserver
define('HTDOCS_DIR', 'share');
Description: Cleanup for possible privacy breaches
Author: Markus Frosch <markus@lazyfrosch.de>
Last-Update: 2013-12-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/de_DE/toc.html
+++ b/docs/de_DE/toc.html
@@ -77,7 +77,7 @@
-->
<div style="text-align:center;margin-top:20px;">
<p><a href="http://www.nagvis.org" style="margin: 0px;" class="nostyle"><img width="88" height="23" border="0" alt="NagVis Logo" src="../general/img/logo-88x23.png" style="margin: 0px;" /></a></p>
- <p><a href="http://sourceforge.net" style="margin: 0px;" class="nostyle"><img width="88" height="31" border="0" alt="SourceForge.net Logo" src="http://sflogo.sourceforge.net/sflogo.php?group_id=132019&amp;type=1" style="margin: 0px;" /></a></p>
+ <p><a href="http://sourceforge.net" style="margin: 0px;" class="nostyle">SourceForge.net</a></p>
</div>
</body>
</html>
--- a/docs/en_US/toc.html
+++ b/docs/en_US/toc.html
@@ -68,7 +68,7 @@
<p>(<font style="color:#ff0000;">*</font>) New in 1.7</p>
<div style="text-align:center;margin-top:20px;">
<p><a href="http://www.nagvis.org" style="margin: 0px;" class="nostyle"><img width="88" height="23" border="0" alt="NagVis Logo" src="../general/img/logo-88x23.png" style="margin: 0px;" /></a></p>
- <p><a href="http://sourceforge.net" style="margin: 0px;" class="nostyle"><img width="88" height="31" border="0" alt="SourceForge.net Logo" src="http://sflogo.sourceforge.net/sflogo.php?group_id=132019&amp;type=1" style="margin: 0px;" /></a></p>
+ <p><a href="http://sourceforge.net" style="margin: 0px;" class="nostyle">SourceForge.net</a></p>
</div>
</body>
</html>
Description: Disabling netmap component for Debian
The component has been removed because it's non-free.
Author: Alexander Reichle-Schmehl <tolimar@debian.org>
Reviewed-by: Markus Frosch <markus@lazyfrosch.de>
Last-Update: 2013-12-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -1410,8 +1410,8 @@
oTr.appendChild(oTd);
// Link
- var oLink = document.createElement('a');
- oLink.href = oGeneralProperties.path_base+'/netmap/shell.html';
+// var oLink = document.createElement('a');
+// oLink.href = oGeneralProperties.path_base+'/netmap/shell.html';
// Status image
var oImg = document.createElement('img');
@@ -1419,17 +1419,17 @@
oImg.src = oGeneralProperties.path_iconsets+'std_small_unknown.png';
oImg.alt = 'geomap';
- oLink.appendChild(oImg);
+// oLink.appendChild(oImg);
oImg = null;
// Title
var h2 = document.createElement('h2');
h2.appendChild(document.createTextNode('Geomap'));
- oLink.appendChild(h2);
+// oLink.appendChild(h2);
h2 = null;
var br = document.createElement('br');
- oLink.appendChild(br);
+// oLink.appendChild(br);
br = null;
// Only show map thumb when configured
@@ -1442,8 +1442,8 @@
oImg = null;
}
- oTd.appendChild(oLink);
- oLink = null;
+// oTd.appendChild(oLink);
+// oLink = null;
oTd = null;
config.patch
remove-shell-swf
privacy-breach
# Debconf translations for nagvis
# Copyright (C) 2012 THE nagvis'S COPYRIGHT HOLDER
# This file is distributed under the same license as the nagvis package.
# Eder L. Marques <eder@edermarques.net>, 2012
#
msgid ""
msgstr ""
"Project-Id-Version: nagvis\n"
"Report-Msgid-Bugs-To: nagvis@packages.debian.org\n"
"POT-Creation-Date: 2013-12-19 21:38+0100\n"
"PO-Revision-Date: 2018-07-08 21:27-0300\n"
"Last-Translator: Eder L. Marques <eder@edermarques.net>\n"
"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
"org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: select
#. Choices
#: ../nagvis.templates:2001
msgid "other"
msgstr "outra"
#. Type: select
#. Description
#: ../nagvis.templates:2002
msgid "Monitoring suite used with NagVis:"
msgstr "Suíte de monitoramento usada com o NagVis:"
#. Type: select
#. Description
#: ../nagvis.templates:2002
msgid ""
"The NagVis package supports Icinga as well as Nagios, using the check-mk-"
"live broker backend."
msgstr ""
"O pacote NagVis suporta tanto o Icinga quanto o Nagios, usando o backend "
"broker check-mk-live."
#. Type: select
#. Description
#: ../nagvis.templates:2002
msgid ""
"If you would like to use NagVis with a different backend or a different "
"monitoring suite, please choose \"other\". You'll have to configure it "
"manually."
msgstr ""
"Se você quiser usar o NagVis com um backend diferente ou uma suíte de "
"monitoramento diferente, por favor, escolha \"outra\". Você terá que "
"configurá-la manualmente."
#. Type: boolean
#. Description
#: ../nagvis.templates:3001
msgid "Delete NagVis data when purging the package?"
msgstr ""
"Apagar os dados do NagVis quando remover completamente (\"purge\") o pacote?"
#. Type: boolean
#. Description
#: ../nagvis.templates:3001
msgid ""
"NagVis creates files in /var/{cache,lib}/nagvis and /etc/nagvis (for "
"instance background images and map files), including a small database for "
"authentification. If you don't need any of these files, they can be removed "
"now, or you may want to keep them and clean up by hand later."
msgstr ""
"O NagVis cria arquivos em /var/{cache,lib}/nagvis e /etc/nagvis (por "
"exemplo, imagens de fundo e arquivos de mapa), incluindo uma pequena base de "
"dados para autenticação. Se você não precisa de nenhum desses arquivos, eles "
"podem ser removidos agora, ou você pode querer mantê-los e fazer a limpeza "
"manualmente depois."
......@@ -19,7 +19,7 @@ override_dh_install:
# /usr/share/nagvis/share
rm -rf debian/nagvis/usr/share/nagvis/share/userfiles/
# We use the external php-gettext lib to avoid copy copies
rm -rf debian/nagvis/usr/share/nagvis/share/server/core/ext/php-gettext-1.0.9
rm -rf debian/nagvis/usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12
# Fixing some lintian issues
rm -f debian/nagvis/usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/LICENSE
find debian/nagvis/ -name ".gitignore" -delete
......
......@@ -2,6 +2,7 @@ version=3
opts=\
dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
repacksuffix=+dfsg,\
filenamemangle=s/(?:.*?)?(?:rel|v|nagvis)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/nagvis-$1.$2/ \
https://github.com/NagVis/nagvis/releases \
(?:.*?/)?(?:rel|v|nagvis)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
#!/bin/bash
find -name *.html -exec sed -r -i 's% ?\(?<font color="(#ff0000|red)">\(?(New|Neu|neu) in 1\.5\.?.?\)?:?</font>\)?%%g' {} \;