Page MenuHomeFreeBSD

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

Authored by pstef on Jul 26 2020, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 20, 2:47 PM
Unknown Object (File)
Fri, Nov 28, 1:19 AM
Unknown Object (File)
Thu, Nov 27, 9:36 PM
Unknown Object (File)
Nov 20 2025, 8:58 PM
Unknown Object (File)
Nov 20 2025, 8:58 PM
Unknown Object (File)
Nov 20 2025, 8:58 PM
Unknown Object (File)
Nov 20 2025, 8:50 PM
Unknown Object (File)
Nov 20 2025, 8:31 PM
Subscribers

Details

Summary

I've always found this a little bit confusing:

> sh
$ ^D> sh
$ ^D>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
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.