Someone even wrote a version of dc (the arbitrary precision RPN desktop calculator) with it. They were clearly insane of course, but it proves that sed is more than just find and replace.
Honourable mention to awk’s sub() and gsub() that, at least for basic find/replace, do the same thing. awk is often surprisingly quick.
sd or nothing. I’m never dealing with sed’s slow and out of date regex ever again
Oh look, this one isn’t installed on practically every Linux machine in existence
For now 😎
You know that
sed
does more thans///g
, right?Someone even wrote a version of
dc
(the arbitrary precision RPNd
esktopc
alculator) with it. They were clearly insane of course, but it proves thatsed
is more than just find and replace.Honourable mention to
awk
’ssub()
andgsub()
that, at least for basic find/replace, do the same thing.awk
is often surprisingly quick.