Re: XCU: 'exit' trap condition [was:Re: XCU: 'return' from subshell]

2020-03-16 Thread Robert Elz
Date:Mon, 16 Mar 2020 13:45:28 +0100 From:Joerg Schilling Message-ID: <5e6f74e8.xgypuzg5wdvjbgqk%joerg.schill...@fokus.fraunhofer.de> | See my remark about the fact that ksh does not use the same definition of | "return" as POSIX. All shells thatdo not claim ksh

Re: XCU: 'exit' trap condition [was:Re: XCU: 'return' from subshell]

2020-03-16 Thread Robert Elz
Date:Sun, 15 Mar 2020 14:44:51 + From:Dirk Fieldhouse Message-ID: <55e0c45a-f13c-fa1d-db22-4c0a1b02d...@gmx.net> | > Not that I am aware of. exit is kind of blunt, it is quite hard to | > be subtly different - I suppose the one difference might be whether

Re: XCU: 'exit' trap condition [was:Re: XCU: 'return' from subshell]

2020-03-16 Thread Joerg Schilling
Dirk Fieldhouse wrote: > On 15/03/20 07:26, Robert Elz wrote: > >...> > >[I wrote:]>| Is there any suggestion that the 'exit'-like > behaviour of any shell that > >| implements it for 'return' in such contexts is subtly different from > > 'exit'? > > > > Not that I am aware of. exit

Re: XCU: 'exit' trap condition [was:Re: XCU: 'return' from subshell]

2020-03-15 Thread Harald van Dijk
On 15/03/2020 14:44, Dirk Fieldhouse wrote: On 15/03/20 07:26, Robert Elz wrote: >...> >[I wrote:]>    | Is there any suggestion that the 'exit'-like behaviour of any shell that    | implements it for 'return' in such contexts is subtly different from 'exit'? Not that I am aware of.   exit

XCU: 'exit' trap condition [was:Re: XCU: 'return' from subshell]

2020-03-15 Thread Dirk Fieldhouse
On 15/03/20 07:26, Robert Elz wrote: >...> >[I wrote:]>| Is there any suggestion that the 'exit'-like behaviour of any shell that | implements it for 'return' in such contexts is subtly different from 'exit'? Not that I am aware of. exit is kind of blunt, it is quite hard to be subtly