Search:

wiki-parser Functions

Abstract: This file is an incomplete documentation of wiki-parser command line options.

wiki-parser's basic function is to format the wikifile is gets on it's standard input into HTML.

Options

-b | -bb p,c
reads filenames on stdin and prints up to c characters from the first p paragraphs (default 5 and 200) from each file. The text is printed without its HTML formatting as plaintext. If p is greater than 1 the text from the first paragraph is formatted as bold text (enclosed in <B></B>). wiki-parser prints output while it reads the filenames from stdin, that is the calling process must call wiki-parser in a bi-directtional pipe. The filenames must be full pathnames.

-L
lists links and hyperlink text in the wiki file on stdin.

-M type dir
reads filenames relative to dir on stdin and prints all links of the given type found in each file on stdout. The exact output is a line with the tab separated values

  • linktype,
  • wikifile HREF, and
  • link HREF

Valid type values are rel, href or any.

-t name
open all external links (links that start with a protocol identifier like "http://") in frame name.

-T name
open all links in frame name.

.

< dag | at | awk-scripting.de >