logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

asubst - Area Substitution

Author

        Ralf S. Engelschall
        rse@engelschall.com
        www.engelschall.com

EN Tools                                           2020-11-29                                          ASUBST(1)

Description

       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

         {: ... :}

Example

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

Name

       asubst - Area Substitution

Options

-ooutputfile
           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.

Synopsis

asubst [-ooutputfile] [-v] [inputfile]

See Also