Shell-Programmierung/tab_kommandos_sed_adressen.tex
2004-11-26 15:40:47 +00:00

20 lines
838 B
TeX

% $Id$
\begin{longtable}{|l|X|}
% KILLED & LINE!!!! \kill
\hline
\endfirsthead
\endhead
\endfoot
\hline
\endlastfoot
\texttt{d} & Keine Adresse angegeben, alle Zeilen werden gelöscht \tabularnewline\STRUT
\texttt{23d} & Zeile 23 wird gelöscht \tabularnewline\STRUT
\texttt{\$d} & Die letzte Eingabezeile wird gelöscht \tabularnewline\STRUT
\texttt{/}\textsl{pattern}\texttt{/d} & Jede Zeile, die den regulären Ausdruck \textsl{pattern} enthält wird gelöscht \tabularnewline\STRUT
\texttt{23,42d} & Die Zeilen 23 bis einschließlich 42 werden gelöscht \tabularnewline\STRUT
\texttt{23,\$d} & Von Zeile 23 bis zum Ende wird gelöscht \tabularnewline\STRUT
\texttt{1,/\^\$/d} & Von der ersten bis zur ersten Leerzeile wird gelöscht \tabularnewline\STRUT
\texttt{23,42!d} & Alles außer den Zeilen 23 bis 42 wird gelöscht
\end{longtable}