diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-12-27 17:17:18 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2009-12-27 17:18:29 +0100 |
commit | 84066bf6150a1e519efac068e428394265011194 (patch) | |
tree | a03b15729abbb5aaf6b151613ad13299de581aae /doc | |
parent | 5d7d2b1cc26101ff5c7f549f47b1b948dcafc20c (diff) | |
download | sed-84066bf6150a1e519efac068e428394265011194.tar.gz |
add F command.
2009-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/sed.texi (Extended Commands): Document F command.
* doc/sed-in.texi: Regenerate.
* sed/compile.c (compile_program): Accept 'F' if not --posix.
* sed/execute.c (open_next_file): Always initialize in_file_name.
(execute_program): Handle 'F'.
* configure.ac: Bump SED_FEATURE_VERSION.
* NEWS: Update.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sed-in.texi | 7 | ||||
-rw-r--r-- | doc/sed.1 | 2 | ||||
-rw-r--r-- | doc/sed.texi | 7 |
3 files changed, 15 insertions, 1 deletions
diff --git a/doc/sed-in.texi b/doc/sed-in.texi index a8b88bd..61b7f56 100644 --- a/doc/sed-in.texi +++ b/doc/sed-in.texi @@ -1400,6 +1400,13 @@ lines, all but the last ending with a back-slash. In both cases, the results are undefined if the command to be executed contains a @sc{nul} character. +@item F +@findex F (File name) command +@cindex Printing file name +@cindex File name, printing +Print out the file name of the current input file (with a trailing +newline). + @item L @var{n} @findex L (fLow paragraphs) command @cindex Reformat pattern space @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.28. -.TH SED "1" "June 2009" "sed version 4.2.1" "User Commands" +.TH SED "1" "December 2009" "sed version 4.2.1" "User Commands" .SH NAME sed \- stream editor for filtering and transforming text .SH SYNOPSIS diff --git a/doc/sed.texi b/doc/sed.texi index 66a926e..83d9b8c 100644 --- a/doc/sed.texi +++ b/doc/sed.texi @@ -1401,6 +1401,13 @@ lines, all but the last ending with a back-slash. In both cases, the results are undefined if the command to be executed contains a @sc{nul} character. +@item F +@findex F (File name) command +@cindex Printing file name +@cindex File name, printing +Print out the file name of the current input file (with a trailing +newline). + @item L @var{n} @findex L (fLow paragraphs) command @cindex Reformat pattern space |