-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
In packaging .spec files, there are a few very common tasks which are normally done with sed/awk/etc.
Most could be expressed as a bsed command which would be nice.
e.g. equiv of dos2unix, removing hashbang, replacing hashbangs.
i.e. https://python-rpm-porting.readthedocs.io/en/latest/applications.html#fixing-shebangs really recommends people write those commands. Surely we can do better than that before 2020 lands ;-)
Packaging python has a few others like replace == with >= inside setup.py strings.
It would be useful if these could be stored commands somehow.
they could be scripts which use bsed as their interpreter, or named aliases like 'bsed run foo', with details in a config.
Metadata
Metadata
Assignees
Labels
No labels