Page MenuHomeFreeBSD

sed: add deprecation notice for -i .bak
Needs ReviewPublic

Authored by emaste on Mar 8 2021, 12:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 24 2024, 9:00 PM
Unknown Object (File)
Nov 24 2024, 2:15 AM
Unknown Object (File)
Nov 20 2024, 10:10 PM
Unknown Object (File)
Nov 7 2024, 10:48 AM
Unknown Object (File)
Oct 18 2024, 3:27 AM
Unknown Object (File)
Oct 17 2024, 6:14 AM
Unknown Object (File)
Oct 16 2024, 10:03 AM
Unknown Object (File)
Oct 15 2024, 6:05 PM
Subscribers

Details

Reviewers
kevans
tobik
Summary

PR: 254091

Test Plan

Needs test suite update, posted for discussion.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
usr.bin/sed/main.c
142

I think the warning sounds like an error and it is not very clear that sed actually goes ahead and changes the file anyway.

val_packett.cool added inline comments.
usr.bin/sed/main.c
138

Hmm. Still considering -i '' non-deprecated — would that really facilitate a transition to the style everyone else uses?