\entry{Stream editor}{1}{Stream editor}
\entry{Version, printing}{1}{Version, printing}
\entry{Usage summary, printing}{1}{Usage summary, printing}
\entry{Script, from command line}{1}{Script, from command line}
\entry{Script, from a file}{1}{Script, from a file}
\entry{Files to be processed as input}{1}{Files to be processed as input}
\entry{Standard input, processing as input}{1}{Standard input, processing as input}
\entry{sed program structure}{2}{\sc {sed} program structure}
\entry{Script structure}{2}{Script structure}
\entry{Addresses, in sed scripts}{2}{Addresses, in \sc {sed} scripts}
\entry{Line selection}{2}{Line selection}
\entry{Selecting lines to process}{2}{Selecting lines to process}
\entry{Address, numeric}{2}{Address, numeric}
\entry{Line, selecting by number}{2}{Line, selecting by number}
\entry{GNU extensions, n{\tt\char 126}m addresses}{2}{\sc {GNU} extensions, \code {\var {n}~\var {m}} addresses}
\entry{Address, last line}{2}{Address, last line}
\entry{Last line, selecting}{2}{Last line, selecting}
\entry{Line, selecting last}{2}{Line, selecting last}
\entry{Address, as a regular expression}{2}{Address, as a regular expression}
\entry{Line, selecting by regular expression match}{2}{Line, selecting by regular expression match}
\entry{Slash character, in regular expressions}{2}{Slash character, in regular expressions}
\entry{GNU extensions, I modifier}{2}{\sc {GNU} extensions, \code {I} modifier}
\entry{Range of lines}{2}{Range of lines}
\entry{Several lines, selecting}{2}{Several lines, selecting}
\entry{Excluding lines}{2}{Excluding lines}
\entry{Selecting non-matching lines}{2}{Selecting non-matching lines}
\entry{Buffer spaces, pattern and hold}{3}{Buffer spaces, pattern and hold}
\entry{Spaces, pattern and hold}{3}{Spaces, pattern and hold}
\entry{Pattern space, definition}{3}{Pattern space, definition}
\entry{Hold space, definition}{3}{Hold space, definition}
\entry{Comments, in scripts}{3}{Comments, in scripts}
\entry{Portability, comments}{3}{Portability, comments}
\entry{Caveat --- #n on first line}{3}{Caveat --- #n on first line}
\entry{Substitution of text}{3}{Substitution of text}
\entry{Replacing text matching regexp}{3}{Replacing text matching regexp}
\entry{Backreferences, in regular expressions}{3}{Backreferences, in regular expressions}
\entry{Parenthesized substrings}{3}{Parenthesized substrings}
\entry{Substitution of text, options}{4}{Substitution of text, options}
\entry{Replacing text matching regexp, options}{4}{Replacing text matching regexp, options}
\entry{Global substitution}{4}{Global substitution}
\entry{Replacing all text matching regexp in a line}{4}{Replacing all text matching regexp in a line}
\entry{Printing text after substitution}{4}{Printing text after substitution}
\entry{Replacing only nth match of regexp in a line}{4}{Replacing only \var {n}th match of regexp in a line}
\entry{Write result of a substitution to file}{4}{Write result of a substitution to file}
\entry{GNU extensions, I modifier}{4}{\sc {GNU} extensions, \code {I} modifier}
\entry{Case-insensitive matching}{4}{Case-insensitive matching}
\entry{Quitting}{4}{Quitting}
\entry{Deleting lines}{4}{Deleting lines}
\entry{Print selected lines}{4}{Print selected lines}
\entry{Caveat --- p command and -n flag}{4}{Caveat --- \code {p} command and -n flag}
\entry{Portability, p command and -n flag}{4}{Portability, \code {p} command and -n flag}
\entry{Next input line, replace pattern space with}{4}{Next input line, replace pattern space with}
\entry{Read next input line}{4}{Read next input line}
\entry{Grouping commands}{4}{Grouping commands}
\entry{Command groups}{4}{Command groups}
\entry{Transliteration}{4}{Transliteration}
\entry{Adding a block of text after a line}{5}{Adding a block of text after a line}
\entry{Text, appending}{5}{Text, appending}
\entry{Inserting a block of text before a line}{5}{Inserting a block of text before a line}
\entry{Text, insertion}{5}{Text, insertion}
\entry{Replace specific input lines}{5}{Replace specific input lines}
\entry{Selected lines, replacing}{5}{Selected lines, replacing}
\entry{Print line number}{5}{Print line number}
\entry{Line number, print}{5}{Line number, print}
\entry{List pattern space}{5}{List pattern space}
\entry{Print unambiguous representation of pattern space}{5}{Print unambiguous representation of pattern space}
\entry{Read text from a file}{5}{Read text from a file}
\entry{Insert text from a file}{5}{Insert text from a file}
\entry{Write to a file}{5}{Write to a file}
\entry{Delete first line from pattern space}{5}{Delete first line from pattern space}
\entry{Next input line, append to pattern space}{6}{Next input line, append to pattern space}
\entry{Append next input line to pattern space}{6}{Append next input line to pattern space}
\entry{Print first line from pattern space}{6}{Print first line from pattern space}
\entry{Copy pattern space into hold space}{6}{Copy pattern space into hold space}
\entry{Replace hold space with copy of pattern space}{6}{Replace hold space with copy of pattern space}
\entry{Hold space, copying pattern space into}{6}{Hold space, copying pattern space into}
\entry{Append pattern space to hold space}{6}{Append pattern space to hold space}
\entry{Hold space, appending from pattern space}{6}{Hold space, appending from pattern space}
\entry{Copy hold space into pattern space}{6}{Copy hold space into pattern space}
\entry{Replace pattern space with copy of hold space}{6}{Replace pattern space with copy of hold space}
\entry{Hold space, copy into pattern space}{6}{Hold space, copy into pattern space}
\entry{Append hold space to pattern space}{6}{Append hold space to pattern space}
\entry{Hold space, appending to pattern space}{6}{Hold space, appending to pattern space}
\entry{Exchange hold space with pattern space}{6}{Exchange hold space with pattern space}
\entry{Hold space, exchange with pattern space}{6}{Hold space, exchange with pattern space}
\entry{Flow of control in scripts}{6}{Flow of control in scripts}
\entry{Labels, in scripts}{6}{Labels, in scripts}
\entry{Branch to a label, unconditionally}{6}{Branch to a label, unconditionally}
\entry{Goto, in scripts}{6}{Goto, in scripts}
\entry{Branch to a label, if s/// succeeded}{6}{Branch to a label, if \code {s///} succeeded}
\entry{Conditional branch}{6}{Conditional branch}
\entry{GNU extensions, unlimited line length}{6}{\sc {GNU} extensions, unlimited line length}
\entry{Portability, line length limitations}{6}{Portability, line length limitations}
\entry{Addtional reading about sed}{7}{Addtional reading about \sc {sed}}
\entry{Bugs, reporting}{7}{Bugs, reporting}
