The fact is simple: Subshells have the same PPID as the current shell.
authortb <tb@openbsd.org>
Thu, 1 Jun 2017 20:37:38 +0000 (20:37 +0000)
committertb <tb@openbsd.org>
Thu, 1 Jun 2017 20:37:38 +0000 (20:37 +0000)
commitf260dea4f5750cbd59d22babd503d4b898f0688f
tree1b49ad9da3d3d658af33e838a4ae1bb16256ada1
parent27ef809be89bf4354a2b00ea736dfc3c163f8713
The fact is simple: Subshells have the same PPID as the current shell.
What is not so simple is squinting hard enough to conclude that POSIX
actually says that. I'm still not sure how to do that.
Problem with the shell manual pointed out by "Choose a display name".

ok otto, halex, jmc
bin/ksh/sh.1