[TUHS] shells, Re: Listing of early Unix source code from the Computer History Museum.

John Levine johnl at taugh.com
Mon May 26 10:15:54 AEST 2025


It appears that Noel Chiappa <jnc at mercury.lcs.mit.edu> said:
>but by V5 it had been re-written in C:
>
>  https://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/source/s2/sh.c

I had heard that called the Mashey shell, also according to Wikipedia the PWB shell.

That shell had no flow control but it read its input one character at a time and there
was a "goto" program that rewound the input and scanned forward for a label in a comment.  Primitive
but sort of usable.

One of the early usenix tapes has some patches I wrote to add primitive single character shell variables.

R's,
John


More information about the TUHS mailing list