]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh(1): print a newline when ^D quits sh
authorPiotr Pawel Stefaniak <pstef@FreeBSD.org>
Mon, 27 Jul 2020 18:46:20 +0000 (18:46 +0000)
committerPiotr Pawel Stefaniak <pstef@FreeBSD.org>
Mon, 27 Jul 2020 18:46:20 +0000 (18:46 +0000)
commit9b2a97806ffff94c9568be2f1ecebdf1f61bd50b
treea345edd07cae12313fcbd6a97edccd7bc715a13f
parentbdfea496cf9f32b9fcfa8be83ee37931138e6ea1
sh(1): print a newline when ^D quits sh

I've always found this a little bit confusing:
> sh
$ ^D> sh
$ ^D>

Reviewed by: 0mp, jilles
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25813
bin/sh/main.c