Install command:
brew install gnu-sed

Also known as: gsed

GNU implementation of the famous stream editor

License: GPL-3.0-or-later

/api/formula/gnu-sed.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave, high sierra
Apple Silicon big sur

Current versions:

stable 4.8

Conflicts with: ssed

GNU "sed" has been installed as "gsed".
If you need to use it as "sed", you can add a "gnubin" directory
to your PATH from your bashrc like:

     PATH="$(brew --prefix)/opt/gnu-sed/libexec/gnubin:$PATH"


Installs (30 days)
gnu-sed 19,772
Installs on Request (30 days)
gnu-sed 12,428
Build Errors (30 days)
gnu-sed 3
Installs (90 days)
gnu-sed 64,958
gnu-sed --with-default-names 7
Installs on Request (90 days)
gnu-sed 44,200
gnu-sed --with-default-names 6
Installs (365 days)
gnu-sed 227,776
gnu-sed --with-default-names 35
Installs on Request (365 days)
gnu-sed 170,661
gnu-sed --with-default-names 29
Fork me on GitHub