document that sed -i breaks links

git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-65
This commit is contained in:
Paolo Bonzini committed 2008-01-09 16:12:06 +01:00
1 parent 034190bd22
commit 6ed57b0429
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -87,8 +87,8 @@ regex syntax clashes (problems with backslashes)
modifying the contents of the directory, so the operation depends on
the permissions of the directory, not of the file). For this same
reason, sed will not let one use `-i' on a writeable file in a
read-only directory (but unbelievably nobody reports that as a
bug...).
read-only directory, and will break hard or symbolic links when
`-i' is used on such a file.
`0a' does not work (gives an error)
+2 -2
View File
@@ -2706,8 +2706,8 @@ to the original name: if you rename or delete files, you're actually
modifying the contents of the directory, so the operation depends on
the permissions of the directory, not of the file. For this same
reason, @command{sed} does not let you use @option{-i} on a writeable file
in a read-only directory (but unbelievably nobody reports that as a
bug@dots{}).
in a read-only directory, and will break hard or symbolic links when
@option{-i} is used on such a file.
@item @code{0a} does not work (gives an error)
There is no line 0. 0 is a special address that is only used to treat