tr_xlnk(1)
NAME
tr_xlnk -- process html files and expand links on directories
SYNOPSIS
tr_xlnk [-hp] [-v level] [-i fname-list] html-files
DESCRIPTION
tr_xlnk opens all files listed on the command line and searches for
realtive links on directories. These links are expanded to point to the
default file (e.g index.html).
This is useful if you want to click through html files without a
web-server.
File access permissions are preserved.
OPTIONS
-h short help
-i index list. Comma seperated list of files to search for. Default is:
index.html,index.htm,index.shtml,default.htm,index.php3,
index.php,index.wml
-p print to stdout and do not modify any files.
-v verbosity. Number between 0-3. Print information on what is done.
Default is 1.
EXAMPLE
tr_xlnk `find . -name '*.htm*'`
will seach for all html files in this directroy and subdirectories and
modify the html files such that all links point to the default index
files. E.g href="../" would become href="../index.html" if index.html
exists.
AUTHOR
tr_xlnk is part of the HTML::TagReader package and was written by Guido
Socher [guido(at)linuxfocus.org]
perl v5.8.8 2007-10-29 TR_XLNK(1)
Man(1) output converted with
man2html