ed Command Examples

The original Unix text editor. See also: awk, sed. More information: https://www.gnu.org/software/ed/manual/ed_manual.html.

ed

ed --prompt='> '

ed --verbose

ed --quiet

ed --loose-exit-status

ed {{path/to/file}}

,s/{{regular_expression}}/{{replacement}}/g