All apps/sed

sed

sed

Stream editor for filtering and transforming text.

Runs as sed|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 6 fields

Apply sed commands to files or standard input and print the result. In-place editing (-i) is left out because its backup-suffix syntax differs between BSD and GNU sed.

Opens the form; the finished command lands at your prompt, unrun
otty gui sed
Edit text streamExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
string
Extended regex
-E
Input files
file
TasksEach one presets the form for one job
Substitute text
scriptfilesextended
Print selected lines
scriptfilesquiet
ParametersOnly these flags are editable in the form
Script
A sed command such as s/old/new/g. Repeat to add more commands.
string · repeatable
-e
Script file
path
-f
Extended regex
Use extended regular expressions.
boolean
-E-r
Suppress automatic printing
Only print lines selected by a p command.
boolean
-n
Unbuffered output
boolean
-u
Input files
Leave empty to read standard input.
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed sed against its version. A form that does not match your version is not offered.