document --follow-symlinks
2006-12-16 Paolo Bonzini <bonzini@gnu.org> * doc/sed-in.texi: Document --follow-symlinks. git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-86
This commit is contained in:
1 parent
f6aa842534
commit
a9f3dc2a2a
3 files changed
+58
-34
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2006-12-16 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* doc/sed-in.texi: Document --follow-symlinks.
|
||||
|
||||
2006-12-15 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* sed/regexp.c: Disable all extensions on --posix.
|
||||
|
||||
+27
-17
@@ -215,6 +215,22 @@ These options disable this automatic printing,
|
||||
and @command{sed} only produces output when explicitly told to
|
||||
via the @code{p} command.
|
||||
|
||||
@item -e @var{script}
|
||||
@itemx --expression=@var{script}
|
||||
@opindex -e
|
||||
@opindex --expression
|
||||
@cindex Script, from command line
|
||||
Add the commands in @var{script} to the set of commands to be
|
||||
run while processing the input.
|
||||
|
||||
@item -f @var{script-file}
|
||||
@itemx --file=@var{script-file}
|
||||
@opindex -f
|
||||
@opindex --file
|
||||
@cindex Script, from a file
|
||||
Add the commands contained in the file @var{script-file}
|
||||
to the set of commands to be run while processing the input.
|
||||
|
||||
@item -i[@var{SUFFIX}]
|
||||
@itemx --in-place[=@var{SUFFIX}]
|
||||
@opindex -i
|
||||
@@ -281,7 +297,7 @@ to a non-empty value.
|
||||
@itemx --binary
|
||||
@opindex -b
|
||||
@opindex --binary
|
||||
This option is available on any platforms, but is only effective where the
|
||||
This option is available on every platform, but is only effective where the
|
||||
operating system makes a distinction between text files and binary files.
|
||||
When such a distinction is made---as is the case for MS-DOS, Windows,
|
||||
Cygwin---text files are composed of lines separated by a carriage return
|
||||
@@ -290,6 +306,16 @@ ending CR. When this option is specified, @command{sed} will open
|
||||
input files in binary mode, thus not requesting this special processing
|
||||
and considering lines to end at a line feed.
|
||||
|
||||
@item --follow-symlinks
|
||||
@opindex --follow-symlinks
|
||||
This option is available only on platforms that support
|
||||
symbolic links and has an effect only if option @option{-i}
|
||||
is specified. In this case, if the file that is specified
|
||||
on the command line is a symbolic link, @command{sed} will
|
||||
follow the link and edit the ultimate destination of the
|
||||
link. The default behavior is to break the symbolic link,
|
||||
so that the link destination will not be modified.
|
||||
|
||||
@item -r
|
||||
@itemx --regexp-extended
|
||||
@opindex -r
|
||||
@@ -339,22 +365,6 @@ Buffer both input and output as minimally as practical.
|
||||
the likes of @samp{tail -f}, and you wish to see the transformed
|
||||
output as soon as possible.)
|
||||
|
||||
@item -e @var{script}
|
||||
@itemx --expression=@var{script}
|
||||
@opindex -e
|
||||
@opindex --expression
|
||||
@cindex Script, from command line
|
||||
Add the commands in @var{script} to the set of commands to be
|
||||
run while processing the input.
|
||||
|
||||
@item -f @var{script-file}
|
||||
@itemx --file=@var{script-file}
|
||||
@opindex -f
|
||||
@opindex --file
|
||||
@cindex Script, from a file
|
||||
Add the commands contained in the file @var{script-file}
|
||||
to the set of commands to be run while processing the input.
|
||||
|
||||
@end table
|
||||
|
||||
If no @option{-e}, @option{-f}, @option{--expression}, or @option{--file}
|
||||
|
||||
+27
-17
@@ -216,6 +216,22 @@ These options disable this automatic printing,
|
||||
and @command{sed} only produces output when explicitly told to
|
||||
via the @code{p} command.
|
||||
|
||||
@item -e @var{script}
|
||||
@itemx --expression=@var{script}
|
||||
@opindex -e
|
||||
@opindex --expression
|
||||
@cindex Script, from command line
|
||||
Add the commands in @var{script} to the set of commands to be
|
||||
run while processing the input.
|
||||
|
||||
@item -f @var{script-file}
|
||||
@itemx --file=@var{script-file}
|
||||
@opindex -f
|
||||
@opindex --file
|
||||
@cindex Script, from a file
|
||||
Add the commands contained in the file @var{script-file}
|
||||
to the set of commands to be run while processing the input.
|
||||
|
||||
@item -i[@var{SUFFIX}]
|
||||
@itemx --in-place[=@var{SUFFIX}]
|
||||
@opindex -i
|
||||
@@ -282,7 +298,7 @@ to a non-empty value.
|
||||
@itemx --binary
|
||||
@opindex -b
|
||||
@opindex --binary
|
||||
This option is available on any platforms, but is only effective where the
|
||||
This option is available on every platform, but is only effective where the
|
||||
operating system makes a distinction between text files and binary files.
|
||||
When such a distinction is made---as is the case for MS-DOS, Windows,
|
||||
Cygwin---text files are composed of lines separated by a carriage return
|
||||
@@ -291,6 +307,16 @@ ending CR. When this option is specified, @command{sed} will open
|
||||
input files in binary mode, thus not requesting this special processing
|
||||
and considering lines to end at a line feed.
|
||||
|
||||
@item --follow-symlinks
|
||||
@opindex --follow-symlinks
|
||||
This option is available only on platforms that support
|
||||
symbolic links and has an effect only if option @option{-i}
|
||||
is specified. In this case, if the file that is specified
|
||||
on the command line is a symbolic link, @command{sed} will
|
||||
follow the link and edit the ultimate destination of the
|
||||
link. The default behavior is to break the symbolic link,
|
||||
so that the link destination will not be modified.
|
||||
|
||||
@item -r
|
||||
@itemx --regexp-extended
|
||||
@opindex -r
|
||||
@@ -340,22 +366,6 @@ Buffer both input and output as minimally as practical.
|
||||
the likes of @samp{tail -f}, and you wish to see the transformed
|
||||
output as soon as possible.)
|
||||
|
||||
@item -e @var{script}
|
||||
@itemx --expression=@var{script}
|
||||
@opindex -e
|
||||
@opindex --expression
|
||||
@cindex Script, from command line
|
||||
Add the commands in @var{script} to the set of commands to be
|
||||
run while processing the input.
|
||||
|
||||
@item -f @var{script-file}
|
||||
@itemx --file=@var{script-file}
|
||||
@opindex -f
|
||||
@opindex --file
|
||||
@cindex Script, from a file
|
||||
Add the commands contained in the file @var{script-file}
|
||||
to the set of commands to be run while processing the input.
|
||||
|
||||
@end table
|
||||
|
||||
If no @option{-e}, @option{-f}, @option{--expression}, or @option{--file}
|
||||
|
||||
Reference in new issue
Block a user