From mboxrd@z Thu Jan 1 00:00:00 1970 From: reed@reedmedia.net (Jeremy C. Reed) Date: Mon, 21 May 2012 10:00:12 -0500 (CDT) Subject: [TUHS] Oldest Unix source code still in modern systems In-Reply-To: <20120521051801.GA2210@minnie.tuhs.org> References: <20120521051801.GA2210@minnie.tuhs.org> Message-ID: On Mon, 21 May 2012, Warren Toomey wrote: > I was doing a trawl of related Unix source trees, and found that some early > C code from around 2nd Edition Unix is still in OpenSolaris today: > > http://minnie.tuhs.org/cgi-bin/utree.pl?file=V2/cmd/if.c > > Choose: Compare this file to OpenSolaris_b135/cmd/fmli/sys/test.c > and then click on the Side Scroll or the Printable button. > > There's about 15 lines of code in common between the 2 files. Cool. I recently did the same thing for BSD. http://www.bsdnewsletter.com/2012/05/Features181.html Some examples of code that is mostly the same since the first Berkeley distribution are: colcrt, expand, mkstr, and soelim. But a few others still have some of the original ~1976-1977 code.