On Wed, Jun 23, 2021 at 03:17:48PM -0700, Martin Jambon wrote:
> > What is the magic quality that imparts shellness?
>
> '$$' matching the process ID.
That just signifies that you're in the original shell, or the main shell,
or the root shell, or the fundamental shell, or make up whatever term
yo
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.
What i
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?" What is the magic quality that imparts shellness?
--
``The lyf so short, the craft so long
On 6/22/21 8:00 PM, Lawrence Velázquez wrote:
On Tue, Jun 22, 2021, at 6:32 PM, Martin Jambon wrote:
I would also mention pipelines here, since these are more commonly
used than () subshells. I don't know if there are other ways of
creating subshells. If that's all, I think it would be valuabl