[TUHS] Crabs

Bakul Shah bakul at bitblocks.com
Sun Feb 23 08:12:34 AEST 2020


On Sun, 23 Feb 2020 07:34:44 +1100 Dave Horsfall <dave at horsfall.org> wrote:
>
> On Sat, 22 Feb 2020, Rodrigo G. López wrote:
>
> > here is the source for a working plan 9 version:
> > http://www.9front.org/extra/crabs.tgz
> > fun to watch.
>
> Thanks; I don't have Plan 9, but the source ought to be interesting.

You can run it under plan9ports.

git clone https://github.com/9fans/plan9port.git
cd plan9ports
./INSTALL
# You may have to setenv PLAN9 to the above dir. I am not sure.

tar xf crabs.tgz
cd crabs

# fix an unnamed parameter
ed crabs.c <<EOF
/main/s/int/int argc/
wq
EOF

9c crabs.c
9l crabs.o
a.out

This will be about as exciting sa watching ants move about on
a white wall. May be less.


More information about the TUHS mailing list