sed

Edit text in a scriptable manner. See also: awk, ed.…

sed

Edit text in a scriptable manner. See also: awk, ed. More information: https://www.gnu.org/software/sed/manual/sed.html.

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

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

{{command}} | sed -E 's/(apple)/\U\1/g'

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

sed -i 's/apple/mango/g' {{path/to/file}}

Также может быть вам интересно:
LinuxFreeBSDТрюки BashТерминал/Консоль
← scrot see →