diff --git a/BUGS b/BUGS index a8bce01..3e12c4a 100644 --- a/BUGS +++ b/BUGS @@ -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) diff --git a/doc/sed-in.texi b/doc/sed-in.texi index 3becf31..b0d2f86 100644 --- a/doc/sed-in.texi +++ b/doc/sed-in.texi @@ -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