[talk] Getting to yes.c

Mike Burns mike+nycbug at mike-burns.com
Sat Apr 1 19:27:19 EDT 2017


We're going to read yes.c together on Wednesday!

Bonus points if you do some reading ahead of time, but this event is fun
even if you're allergic to pointers.

In preparation I'm looking for the most interesting and most classic
implementations of yes.c out there in the wild. I'll come prepared with
OpenBSD, FreeBSD, NetBSD, GNU, Illumos, V7, and Suckless. Anyone have
access to something older? Stranger? Shorter? Longer?

Here's what I have:

Man page:
http://man.openbsd.org/yes
https://linux.die.net/man/1/yes

OpenBSD:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yes/yes.c?rev=1.9&content-type=text/x-cvsweb-markup

FreeBSD:
https://svnweb.freebsd.org/base/head/usr.bin/yes/yes.c?revision=314436&view=markup

NetBSD:
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/yes/yes.c?rev=1.9&content-type=text/x-cvsweb-markup&only_with_tag=MAIN

GNU:
http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/yes.c

Illumos:
https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/yes/yes.c

System 7:
http://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/yes.c

Suckless:
http://git.suckless.org/sbase/tree/yes.c

-Mike




More information about the talk mailing list