[TUHS] The most surprising Unix programs

Rob Pike robpike at gmail.com
Mon Mar 16 10:56:22 AEST 2020


There's a copy in my github repo for it, along w2006.txt and the salt file.

https://github.com/robpike/typo/tree/master/unix

-rob

On Mon, Mar 16, 2020 at 10:21 AM Dave Horsfall <dave at horsfall.org> wrote:
>
> On Mon, 16 Mar 2020, Rob Pike wrote:
>
> > Ha! Someone on hacker news, that fount of profundity, posted the C code
> > for typo and said that it would be a simple matter to update to modern
> > Unix.
>
> [ And it isn't...]
>
> Got a pointer for it?  Wherever it is, it's well hidden...  I'd like to
> see some of that ancient C code; for example, my favourite is:
>
>      int abort 4;
>      ...
>         abort();
>
> Yes, really :-)
>
> -- Dave


More information about the TUHS mailing list