NAME

tr_mvlnk -- modify tags in html files with perl commands.

SYNOPSIS

USAGE: tr_mvlnk [-hacv] perlexpr html-files

DESCRIPTION

tr_mvlnk provides the tags in html code in \$_ to perlexpr and modifies the tags according to the perlexpr. The original files are backed-up to filename.bak

Spaces, tabs and newline are removed from the tag and replaced by just one space. This is to make it easier for the perlexpr.

OPTIONS

-a include all tags. Normally only tags that contain links (e.g <a href=... and not <p> </p>) are passed to the perlexpr. That is all tags with href=, src= or background=. With this option set you can modify any tag.

-h this help

-c includes comments. Normally comment tags are not passed to perlexpr. With this option set you can modify also comments.

-v verbous messages about html errors.

EXAMPLE

Change links to tldp.org/linuxfocus to linuxfocus.org: tr_mvlnk 's|tldp.org/linuxfocus|linuxfocus.org|' index.html

AUTHOR

xlnk is part of the HTML::TagReader package and was written by Guido Socher