Sed Alternatives Debate

Commenters discuss a new sed-like tool (with JS regex syntax and cross-platform features) as a potential replacement for traditional sed, questioning its advantages, praising sed's capabilities, and sharing text processing tips with sed, awk, and Perl.

📉 Falling 0.4x Open Source
1,912
Comments
19
Years Active
5
Top Authors
#9641
Topic ID

Activity Over Time

2008
16
2009
26
2010
37
2011
58
2012
91
2013
149
2014
72
2015
89
2016
122
2017
118
2018
124
2019
147
2020
162
2021
167
2022
160
2023
127
2024
142
2025
99
2026
6

Keywords

AFAIK ERE bugreport.cgi VAR COMMAND formulae.brew LINE FOO OS github.com sed awk perl grep gnu command file text line regular expressions

Sample Comments

jxy Nov 29, 2016 View on HN

What is the advantage of this over sed?

usgroup Dec 1, 2023 View on HN

I see. Thank you for the explanation. I didn't know about that feature of sed.

daitangio Feb 13, 2022 View on HN

Nice, I will give a try. Seems a good ‘sed’ replacement

timvisee Jan 8, 2019 View on HN

You, are a genius. I didn't know sed could do such things, awesome!

BenjiWiebe Mar 9, 2018 View on HN

You'd think no one actually uses sed any more...

f0e4c2f7 Nov 23, 2021 View on HN

It's not perfect but I like sed for this.

yjftsjthsd-h Aug 29, 2017 View on HN

Or sed, which for many editing purposes is probably easier to use.

masonic Jul 19, 2018 View on HN

Does it have capabilities beyond sed, or just shorter syntax?

vlang1dot0 Dec 14, 2021 View on HN

I'm pretty sure sed could have saved them the trouble.

teilo Apr 20, 2016 View on HN

Why is this better than using sed?