2016-03-02 15:17 GMT+01:00, Marc André Tanner <m...@brain-dump.org>: > I want the possibility to store my most freqently used commands > in a regular "favorites" file where they can be exexcuted from. I > guess you could kind of hack something together with macros but that > is not the same.
Like GNU sed's branches or... ? Things like that are very tricky when it comes to reusability, because to me it looks tricky or ugly to implement parameter substitution inside a regex. Maybe hacking with m4 it's everything I get for that use case: the line between regexes and perl is thin.