Video: C Programming on System 6 - Porting OpenBSD's diff(1)

posted on oct 28th, 2020 with tags mac, openbsd, retrocomputing, and video
part of C Programming on System 6 series

I’ve wanted a simple revision control system on my Mac since starting development of my IMAP client. Porting a large system like Git or even CVS would be overkill (and very slow), but maybe something small like OpenBSD’s RCS implementation would suffice. For now, just having a diff utility would be helpful so in this video I port the guts of OpenBSD’s diff(1) and show it generating a unified diff between revisions of a C file.

Video notes:

Please contact me with any feedback or questions for future videos, and subscribe to my RSS feed for new videos and other posts.

Join me and others on Freenode in the #cyberpals channel if you are interested in following along with this series and have questions or would like to help others.