Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
sed
Shell & Unix
sed
Stream editor for filtering and transforming text.
Official documentation
Errors
1
Compat
1
sed: -e expression #1, char N: unterminated `s' command
GNU sed reports unterminated `s' command when a substitution misses its final delimiter, often because the pattern or replacement contains an unescaped slash.
All sed error messages
sed -i on macOS vs Linux: GNU sed vs BSD sed
GNU sed takes -i with an optional attached suffix, BSD sed on macOS needs an argument: sed -i '' on macOS, sed -i on Linux. Other GNU vs BSD sed differences.
All sed compatibility
Esc