[prev] [index] [next]

sed: stream editor (cont)

Editing commands:



p print the current line
d delete (don't print) the current line
s/RegExp/Replace/ substitute first occurrence of string matching RegExp by Replace string
s/RegExp/Replace/g substitute all occurrences of string matching RegExp by Replace string
q terminate execution of sed