https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230507
Don't just exit when encountering the 'q' command if we edit file inplace, and give mf_fgets() a chance to actually handle inplace case.
Differential D16798
sed: fix -i option behavior with 'q' command yuripv on Aug 19 2018, 3:52 AM. Authored by Tags None Referenced Files
Subscribers
Details
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230507 Don't just exit when encountering the 'q' command if we edit file inplace, and give mf_fgets() a chance to actually handle inplace case. $ jot 5 > a
Diff Detail
Event TimelineComment Actions This looks good to me, just had one question.
Comment Actions I don't see an easy way to check for leftovers in the working directory using standard kyua commands, so simply add the check for '.!'* files to all inplace cases. |