GNU sed
The GNU stream editor for filtering and transforming text from files or pipelines.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get GNU sed
Package managers
- Homebrew
brew install gnu-sed
About GNU sed
GNU sed is a stream editor. It reads text from files or standard input, applies editing commands such as substitutions and deletions, and writes the result. This makes it a standard building block in shell scripts and pipelines.
It is the sed shipped with most Linux distributions. It suits anyone who needs to make repeatable, non-interactive edits to text, such as find-and-replace across files or reshaping command output.
Strengths
- Standard tool available on almost every Linux system
- Scriptable find-and-replace and text transformation
- Works well in shell pipelines
Limitations
- Terse command syntax takes time to learn
- Some GNU extensions differ from BSD sed on macOS
Details
- Pricing
- FreeFree software from the GNU Project.
- License
- GPL-3.0
- Developer
- GNU Project
- Platforms
- Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Scripted text editing and find-and-replace in shell pipelines
- Categories
- CLI tools, Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to GNU sed
Compare allSoftware that can replace GNU sed for an important use case, and what changes if you switch.
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 necessarily 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.