First page Back Continue Last page Summary Graphic

Sed

  • Simple scriptable editor for manipulating streams. Short cryptic command syntax.
  • e.g.
  • sed 's/\(.*\)/This line contains: \1/' <<HERE-TAG
  • hello
  • there
  • 1
  • HERE-TAG
  • --> This line contains: hello
  • --> This line contains: there
  • --> This line contains: 1
  • Easier to program in awk than in sed. Awk can do some things that sed can't do. Sed is smaller and faster than awk.

    Notes: