> 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.
>
> $ ksh
> $ false
> ^D
> $ print $?
> 1
>
> David Korn
> d...@research.att.com

Do we need some specific ksh version to make that work?
Or does that just mean that the behaviour is undefined?

I am running ksh 93t+ 2010-03-05 and above sample as well
returns 0 here in my Ubuntu/Linux 2.6 environment.

(No traps set, BTW.)

                                          
_______________________________________________
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to