Profile

Masanori Ogino 𓀁

181351 posts 1993 follows 1215 followers

Please pay attention to random failures.

https://mstdn.maud.io/@omasanori

Masanori Ogino 𓀁 omasanori@mstdn.maud.io

Getting to yes.c

Let's read a classic: yes.c. We can look at OpenBSD, FreeBSD, NetBSD, GNU, Illumos, and Unix 7th ed. 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?