wls

Langue: en

Version: 31 July 1999 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

NAME

wls - list links in an HTML file

SYNOPSIS

wls [ -l ] [ -r ] [ -h ] [ -b base ] [ file ]

DESCRIPTION

The wls command reads an HTML file (standard input by default) and prints out all links it finds. The output is written to stdout.

OPTIONS

The following options are supported:
-l
Produce a long listing. Instead of just the URI, wls prints three columns: the element name, the value of the REL attribute, and the URI.
-r
Print relative URLs as they are, without converting them to absolute URLs.
-b base
Use base as the initial base URL. If there is a <base> element in the document, it will override the -b option.
-h
Output as HTML. The output will be listed in the form of <a> elements.

OPERANDS

The following operands are supported:
file
The name or the URL of an HTML file. If absent, standard input is read instead.

EXIT STATUS

The following exit values are returned:
0
Successful completion.
>0
An error occurred in the parsing of the HTML file. toc will try to correct the error and produce output anyway.

SEE ALSO

num(1), normalize(1), xml2asc(1) asc2xml(1)

BUGS

None known yet.