This meetup concentrates on the common and simple commands; this time: yes.
The yes command prints 'y', followed by a newline, forever. It can also take arguments, which it prints forever.
We will look at OpenBSD, FreeBSD, NetBSD, GNU, and Illumos implementations.
With the many different authors and distinct cultures we will be sure to have much to discuss and compare. Some things to think about: what are some uses for the yes command? What errors can occur, and how are they handled? How did GNU manage to make this program 88 lines long? How did Illumos get this program indented by five tabs?
Just in case you don't have five copies of yes.c sitting on your hard drive, you can find them online:
This should all take about three hours. Food and drinks will be provided by thoughtbot.
This is a reading group for code. Our focus is the classics and tools we use every day. The inspiration is the shared metaphors and expressions we have in natural language due to common books (e.g. Hitchhiker's Guide to the Galaxy, Romeo and Juliet) and movies (e.g. Hackers, A Christmas Carol).