[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[feature] Add edscript as a shortcut for running ed with script?
From: |
Artyom Bologov |
Subject: |
[feature] Add edscript as a shortcut for running ed with script? |
Date: |
Sat, 28 Sep 2024 23:59:55 +0400 |
Hi y'all,
I'm using ed for scripting text modification lately. And what often bugs
me is that scripting is so inconvenient with ed. To edit a file with a
script taken from another file, one has to do
ed input.txt < script.txt
which is unintuitive, I believe. What if it was this?
edscript script.txt input.txt
I find this more logical—we run ed script upon the file.
I realize that ed is a forever stable project and some additional
features are likely not the focus, but I couldn't just ignore this
use-case biting me lately.
Best of luck,
--
Artyom Bologov
https://aartaka.me
- [feature] Add edscript as a shortcut for running ed with script?,
Artyom Bologov <=