wml_p6_asubst(1)

wml_p6_asubst1

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/X/ä/]] [[s/X/ü/]]
  Foo Bar Baz Quux with Umlauts X and X
  :}

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

8 releases since Debian 2.0 (Hamm); the text changed 5 times.

  1. 2.0
  2. 2.1
  3. 2.2
  4. 3.0
  5. 10
  6. 11–13

Author

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

From wml 2.32.0~ds1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.