On 6/23/21 6:17 PM, Martin Jambon wrote:
On 6/23/21 6:24 AM, Chet Ramey wrote:
On 6/22/21 9:54 PM, Martin Jambon wrote:

In the posix definition, a subshell
- is not necessarily implemented as a separate process
- belongs to a unique shell
- is not a shell

Why is it not "a shell?"

Because '$$' doesn't match its process ID.

OK. That's a rather unique definition, but it's a definition.

I'm not sure why I have to fight over this. It's clearly my misunderstanding. That's why I suggest clarifications in the documentation, if you're interested in creating a better experience for users like me.

I don't think we're fighting here. We're discussing whether or not we need
to invent new nomenclature to clarify an obscure point, or whether a
clearer explanation of the concept of a subshell will suffice.

--
``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