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
F82054677: D25813.diff
Thu, Apr 25, 1:48 AM
Unknown Object (File)
Wed, Apr 24, 1:01 AM
Unknown Object (File)
Jan 14 2024, 2:17 PM
Unknown Object (File)
Jan 8 2024, 5:53 AM
Unknown Object (File)
Dec 20 2023, 6:05 AM
Unknown Object (File)
Oct 3 2023, 1:17 AM
Unknown Object (File)
Jun 15 2023, 1:33 PM
Unknown Object (File)
Mar 31 2023, 3:56 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.