On 12/30/22 1:25 PM, Paul Ruizendaal wrote:
London and Reiser report about porting the shell that “it required by
far the largest conversion effort of any supposedly portable program,
for the simple reason that it is not portable.” By the time of SysIII
this is greatly improved, but also in porting the SysIII user land it
was the most complex of the set so far.
Have you read
http://www.collyer.net/who/geoff/sh.tour.pdf
and looked at
http://www.collyer.net/who/geoff/v7sh.tar ?
In the limited literature on Bourne Shell porting, this is authoritative.
Arnold Robbins built on that work and ported the v8-v10 shells to modern
Linux versions. (I am sorry, I do not have a link right now.)
Sorry to say, it wasn't me. Geoff Collyer made the v9 sh portable
and it's available from his web site.