ASUBST(1)
β¨ ASUBST(1) β the EN Tools girlies know π
okay so bestie, welcome to asubst, aka Area Substitution πΈ she lives in the EN Tools family and she is so underrated, fr fr.
π SYNOPSIS π
asubst [-o outputfile] [-v] [inputfile]
like. that's it. that's the whole summoning ritual π«Ά
π DESCRIPTION π
So here's the vibe: asubst reads from inputfile, or from "stdin" if you didn't hand her one, and then she does the thing β she substitutes characters and substrings based on Perl-like substitution commands that are wrapped up inside surrounding area delimiters π¦
The substitution commands she recognizes are, and I need you to write these down exactly bestie, no cap:
[[s/pattern/string/options]]
[[tr/input/output/options]]
and the areas themselves are defined by blocks delimited with this lil cutie:
{: ... :}
so like, the block is the area, and inside the area you put your substitution commands, and she goes to work. periodt. π
π EXAMPLE π
here's her serving, look:
{: [[s/X/ä/]] [[s/X/ü/]]
Foo Bar Baz Quux with Umlauts X and X
:}
not me getting emotional over umlaut substitution π iconic behaviour honestly.
β¨ OPTIONS β¨
-ooutputfile β this redirects the output to outputfile. Usually the output gets sent to"stdout"if you don't pass this option at all, or if outputfile is"-". yes really, a literal dash means "yeah just stdout it", she's flexible like that π-vβ this sets verbose mode, where some processing information will be given on the console. she will talk to you. she will tell you things. some might say she overshares but honestly? we love a transparent queen π£οΈπ
π AUTHOR π
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
the literal main character who made all this happen π«Ά
and that's the whole page bestie, no notes π this was EN Tools, dated 2020-11-29 β go substitute something, you've got this ππ
π¦ where this page comes from
- debian bookworm: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- debian trixie: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu jammy: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu noble: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu questing: wml 2.32.0~ds1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms