A command-line tool for text manipulation.

Options

s/SEARCH/REPLACE/opts: search and replace. Note that the syntax is not PCRE.

options:

  • g: replace all occurrences in current line
  • sed -r to enable extended regexp.