Remix.run Logo
cbm-vic-20 10 hours ago

fd:find::rg:grep

Someone please make an awesome new sed and awk.

scns 10 hours ago | parent | next [-]

sd exists, dunno but awk.

https://github.com/chmln/sd

johnisgood 6 hours ago | parent | prev | next [-]

How is GNU / BSD sed and awk not awesome?

MrDrMcCoy 3 hours ago | parent [-]

Limited regex capabilities. A fast tool that does what sed and awk do with PCRE2 would be amazing.

johnisgood 2 hours ago | parent [-]

Well, I would like to tackle that but unfortunately I do not have enough time to do things for free. :(

Is there any demand for it anyway?

MrDrMcCoy 2 hours ago | parent [-]

I think there would be, but I can only raise my own hand :-)

A tool called sd exists that's close enough for sed, but I haven't seen anything similar for awk.

johnisgood 16 minutes ago | parent [-]

I took a minute to think about it. It would be much more work to add it to awk. :( And replacing every regex evaluation could slow scripts significantly, although this could be a good challenge! :D

Are you using "sd" or is there anything wrong with it as a replacement of sed?

8 hours ago | parent | prev [-]
[deleted]