I'm reading "BASH pocket guide of Oreilly". It said:
The process ID of the current Bash process. In some cases, this can differ from $$.
Above explanation , explained
Question: which cases?
An example is provided in the
Here is an example of a subshell outputting the contents of the variable, along with
I did manage to convince the mksh maintainer to add