Bsd sed: Difference between revisions

From wikinotes
No edit summary
 
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
|-
|-
| <code>man sed</code> || https://www.freebsd.org/cgi/man.cgi?query=sed&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE+and+Ports&arch=default&format=html
| <code>man sed</code> || https://www.freebsd.org/cgi/man.cgi?query=sed&format=html
|-
|-
|}
|}

Latest revision as of 14:06, 16 October 2021

Sed allows you to search/replace within lines/files.
See also gnu sed.

Documentation

man sed https://www.freebsd.org/cgi/man.cgi?query=sed&format=html

Overview

See gnu sed.

Differences from GNU

# BSD replace file contents
sed -i ".bak" "s_aaa_bbb_g" /path/to/file