[prev] [index] [next]

sed: stream editor (cont)

All editing commands can be qualified by line addresses or line selector patterns to limit lines where command is applied:



LineNo selects the specified line
StartLineNo,EndLineNo selects all lines between specified line numbers
/RegExp/ selects all lines that match RegExp
/RegExp1/,/RegExp2/ selects all lines between lines matching reg exps