sed Command Examples

Edit text in a scriptable manner. See also: awk, ed. More information: https://manned.org/sed.1posix.

{{command}} | sed 's/apple/mango/g'

{{command}} | sed -f {{path/to/script.sed}}

{{command}} | sed -n '1p'