Alternatives to GNU sed
The GNU stream editor for filtering and transforming text from files or pipelines. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
GNU sed
The GNU stream editor for filtering and transforming text from files or pipelines.
Replacements
Listings that take over the same core job as GNU sed.
sd
Replace text with a focused command-line tool.
sd is a focused MIT-licensed replacement tool with literal and regex modes on Windows, macOS and Linux, but covers fewer operations than a general stream editor like sed.
Similar software
Related functionality, not a direct replacement.
fastmod
A fast command-line tool for interactive regex search and replace across a large codebase.
sad
A command-line batch search and replace tool that shows a diff before changes are applied.
Serpl
A terminal interface for searching and replacing text across a whole project folder.
choose
A command-line tool for selecting fields from text, meant as a simpler alternative to cut and awk.
GNU Coreutils
The core GNU file, shell and text utilities, including ls, cp, mv and sort.
hck
A close replacement for the cut command that accepts regex delimiters and reorders output columns.