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

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.