{"version":"2.1.251","anchor":"sed-edits-on-symlinks-now-warn-about-what-will-actually-happ","canonical_anchor":"sed-edits-on-symlinks-now-warn-about-what-will-actually-happ","heading":"sed edits on symlinks now warn about what will actually happen","tier":"notice","area":"Bash","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251\/e\/sed-edits-on-symlinks-now-warn-about-what-will-actually-happ","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251","markdown":"### sed edits on symlinks now warn about what will actually happen\n\nA sed edit on a symlink now warns it will replace the link with a regular file.\n\n**What**\n\nWhen 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.\n\n**Details**\n\n- Applies to every sed edit on a symlinked path, with no flag.\n\n**Evidence**\n\n`is a symbolic link whose target is not editable in place here`\n\n- Area: Bash\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}