On 10/9/23 3:21 PM, Kerin Millar wrote:

I can see not exiting if the interactive shell is
in posix mode.

I don't mean to nitpick over a minor issue but bash does also report that a numeric 
argument is "required", implying (at least, to my mind) that the built-in 
requires a valid argument to be able to act at all. Should bash remain able to exit in 
the interactive context, it might make sense to avoid that particular word.

Let's try it. I'll make a change to prevent an interactive shell from
exiting if exit is supplied a non-numeric argument, and we'll see how it
goes.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to