Page MenuHomeFreeBSD

sh(1): print a newline when ^D exits sh
ClosedPublic

Authored by pstef on Jul 26 2020, 10:42 AM.

Details

Summary

I've always found this a little bit confusing:

> sh
$ ^D> sh
$ ^D>

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pstef created this revision.
pstef edited the summary of this revision. (Show Details)

That would make it consistent with dash.

I cannot see any obvious reasons not to support this change.

This revision is now accepted and ready to land.Jul 26 2020, 9:10 PM
This revision was automatically updated to reflect the committed changes.