wml_p6_asubst(3)

wml_p6_asubst3

Area substitution

Usage

asubst [-o outputfile] [-v] [inputfile]

Overview

The asubst program reads inputfile or from "stdin" and performs the following action: Characters and substrings are substituted according to Perl-like substitution commands enclosed by surrounding area delimiters. The substitution commands recognized are

   [[s/pattern/string/options]]
   [[tr/input/output/options]]

and the areas are defined by blocks delimited via

  {: ... :}

Examples

  {: [[s/ae/ä/]] [[s/ue/ü/]]
  Foo Bar Baz Quux with Umlauts ae and ue
  :}

Options

-o outputfile

This redirects the output to outputfile. Usually the output will be send to "stdout" if no such option is specified or outputfile is ""-"".

-v

This sets verbose mode where some processing information will be given on the console.

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9

Author

 Ralf S. Engelschall
 [email protected]
 www.engelschall.com

From wml 2.0.12ds1-10+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.