diff --git a/ChangeLog b/ChangeLog index e90ff3a..06956a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-10-12 Ralf Wildenhues + + * doc/sed-in.texi (Invoking sed): Add index entries for --posix, + -s, --separate. + (Other Commands): Fix typo. + * doc/sed.texi: Regenerate. + 2009-09-07 Dmitry Chistikov (tiny change) * doc/sed-in.texi: Document how to separate commands. diff --git a/doc/sed-in.texi b/doc/sed-in.texi index 1a8708d..a8b88bd 100644 --- a/doc/sed-in.texi +++ b/doc/sed-in.texi @@ -280,6 +280,7 @@ A length of 0 (zero) means to never wrap long lines. If not specified, it is taken to be 70. @item --posix +@opindex --posix @cindex @value{SSEDEXT}, disabling @value{SSED} includes several extensions to @acronym{POSIX} sed. In order to simplify writing portable scripts, this @@ -346,6 +347,8 @@ Perl-style regular expressions}. @item -s @itemx --separate +@opindex -s +@opindex --separate @cindex Working on separate files By default, @command{sed} will consider the files specified on the command line as a single continuous long stream. This @value{SSED} @@ -1267,11 +1270,10 @@ error, and @file{/dev/stdout}, which writes to the standard output.@footnote{This is equivalent to @code{p} unless the @option{-i} option is being used.} -The file will be created (or truncated) before the -first input line is read; all @code{w} commands -(including instances of @code{w} flag on successful @code{s} commands) -which refer to the same @var{filename} are output without -closing and reopening the file. +The file will be created (or truncated) before the first input line is +read; all @code{w} commands (including instances of the @code{w} flag +on successful @code{s} commands) which refer to the same @var{filename} +are output without closing and reopening the file. @item D @findex D (delete first line) command diff --git a/doc/sed.texi b/doc/sed.texi index 575fb41..66a926e 100644 --- a/doc/sed.texi +++ b/doc/sed.texi @@ -281,6 +281,7 @@ A length of 0 (zero) means to never wrap long lines. If not specified, it is taken to be 70. @item --posix +@opindex --posix @cindex @value{SSEDEXT}, disabling @value{SSED} includes several extensions to @acronym{POSIX} sed. In order to simplify writing portable scripts, this @@ -347,6 +348,8 @@ Perl-style regular expressions}. @item -s @itemx --separate +@opindex -s +@opindex --separate @cindex Working on separate files By default, @command{sed} will consider the files specified on the command line as a single continuous long stream. This @value{SSED} @@ -1268,11 +1271,10 @@ error, and @file{/dev/stdout}, which writes to the standard output.@footnote{This is equivalent to @code{p} unless the @option{-i} option is being used.} -The file will be created (or truncated) before the -first input line is read; all @code{w} commands -(including instances of @code{w} flag on successful @code{s} commands) -which refer to the same @var{filename} are output without -closing and reopening the file. +The file will be created (or truncated) before the first input line is +read; all @code{w} commands (including instances of the @code{w} flag +on successful @code{s} commands) which refer to the same @var{filename} +are output without closing and reopening the file. @item D @findex D (delete first line) command