1man(1)                      General Commands Manual                     man(1)
2
3
4

NAME

6       wls - list links in an HTML file
7

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

16       The following options are supported:
17
18       -l        Produce a long listing. Instead of just the URI,  wls  prints
19                 three  columns:  the  element  name,  the  value  of  the REL
20                 attribute, and the URI.
21
22       -r        Print relative URLs as they are, without converting  them  to
23                 absolute URLs.
24
25       -b base   Use  base  as the initial base URL. If there is a <base> ele‐
26                 ment in the document, it will override the -b option.
27
28       -h        Output as HTML. The output will be listed in the form of  <a>
29                 elements.
30

OPERANDS

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

EXIT STATUS

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

SEE ALSO

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

BUGS

49       None known yet.
50
51
52
53                                 31 July 1999                           man(1)
Impressum