sed Cheatsheet

Top patterns.

Overview

sed is the stream editor that performs text substitution and transformation. The cheatsheet captures the patterns operators actually use; fluency turns repetitive find-and-replace into one-liners that compound across operational tasks.

The approach

The practical approach: dry-run first to stdout, narrow with addresses, use alternative delimiters when paths appear, prefer extended regex. The team’s discipline produces predictable text edits.

Why this compounds

sed fluency compounds across tasks. Each one-liner captures transformation knowledge; the team’s text-processing muscle grows; new tasks reuse the patterns.

sed fluency is an operational discipline that pays off across years. Nova AI Ops integrates with operations telemetry, surfaces patterns, and supports the team’s automation discipline.