minus-squareh4x0r@lemmy.dbzer0.comtolinuxmemes@lemmy.world•Even better than the originallinkfedilinkEnglisharrow-up8·4 days agoNo sed necessary with extglob enabled: echo ${line//@(TH|[EL ]|DO)/} linkfedilink
minus-squareh4x0r@lemmy.dbzer0.comtoProgrammer Humor@programming.dev•You can pry pattern matching from my cold dead handslinkfedilinkEnglisharrow-up19arrow-down2·5 days ago it’s missing strong typing Python is strongly typed, but not statically typed. linkfedilink
minus-squareh4x0r@lemmy.dbzer0.comtoProgrammer Humor@lemmy.ml•Interview with an Emacs Enthusiast (Colorized)linkfedilinkEnglisharrow-up1·11 months ago Emacs client library and interface for Lemmy instances. https://codeberg.org/martianh/lem.el linkfedilink
No
sednecessary withextglobenabled:echo ${line//@(TH|[EL ]|DO)/}