On Fri, Dec 7, 2012 at 12:27 AM, David Korn <[email protected]> wrote:
> Subject: Re: [ast-users] [ksh93] interactive ksh always exits 0 on CTRL-D > -------- > > > Not a big problem but I think it better exit $?. > > > I tried the following and it did not exit 0. > I tested with versions 2010-03-05 (93t+), 2011-02-08 (93u), 2012-08-01 (93u+) and 2012-11-20 (93v-). All behave the same for me. I did not mention the version because seems like it has been like this for quite long so others can easily reproduce it. :) > > $ ksh > $ false > ^D > $ print $? > 1 > > David Korn > [email protected] > _______________________________________________ > ast-users mailing list > [email protected] > http://lists.research.att.com/mailman/listinfo/ast-users >
_______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
