ASUBST(1) | EN Tools | ASUBST(1) |
asubst - Area Substitution
asubst [-o outputfile] [-v] [inputfile]
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
{: ... :}
{: [[s/X/ä/]] [[s/X/ü/]] Foo Bar Baz Quux with Umlauts X and X :}
Ralf S. Engelschall rse@engelschall.com www.engelschall.com
2020-11-29 | EN Tools |