ed

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

ed

ed -p '> '

ed -s

ed path/to/file

,s/regular_expression/replacement/g