Getting to yes.c

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.

About us:

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).

Join or login to comment.

Our Sponsors

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more

I'm surpris ed by the level of growth I've seen since becoming an organizer, it's given me more confidence in my abilities.

Katie, started NYC ICO

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy