What is Nostr?
Chris Siebenmann /
npub16gk…g9hv
2023-12-03 18:51:58

Chris Siebenmann on Nostr: Today's ancient Unix trivia: in the Research Unix V6 shell, 'goto' and 'exit' were ...

Today's ancient Unix trivia: in the Research Unix V6 shell, 'goto' and 'exit' were both external programs. They worked by changing the seek position on the file descriptor of the shell script (which they shared with the shell). This worked because the shell read its input line by line (which actually meant character by character).

Interested parties can read more on the V6 shell's control flow at https://utcc.utoronto.ca/~cks/space/blog/unix/V6ShellControlFlow
Author Public Key
npub16gknu73hfrmy6enushmtcq4yuyk3ml0aeadk7fj5hapws3mewyfq45g9hv