A sed edit on a symlink now warns it will replace the link with a regular file.
What's wrong with this entry?
When a sed-based edit targets a symbolic link, the preview now says the file is a link whose target cannot be edited in place, and that sed -i reads through the link and writes a regular file in the link's place instead of changing the target. Previously the diff was withheld or described inaccurately.
- Applies to every sed edit on a symlinked path, with no flag.
is a symbolic link whose target is not editable in place here
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.223
Bash
[[ ]]conditionals: two new bail-outs for shell-lexer divergenceBoth mention bash
-
v2.1.246
Shell function snapshots no longer round-trip through base64
Both mention bash
-
v2.1.246
Shell snapshot records shell options before functions
Both mention bash