🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5854

Re: Portable Self-Replicating C Contest

#5854
From: Kathryn Huxtable
Date: Fri, 31 Mar 1989 23:26
7 lines
609 bytes
char a[] = "char a[] = %c%s%c; main() { printf( a, 34, a, 34 ); }"; main() {
printf( a, 34, a, 34 ); }

Of course, all this has to be on one long line.

Kathryn Huxtable
huxtable@kuhub.cc.ukans.edu
Technical Details
Message-ID: <4244@kuhub.cc.ukans.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!wucs1!wuphys!wugate!wupost!kuhub.cc.ukans.edu!huxtable

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!wucs1!wuphys!wugate!wupost!kuhub.cc.ukans.edu!huxtable
From: huxtable@kuhub.cc.ukans.edu (Kathryn Huxtable)
Newsgroups: comp.std.c
Subject: Re: Portable Self-Replicating C Contest
Message-ID: <4244@kuhub.cc.ukans.edu>
Date: 31 Mar 89 23:26:03 GMT
Organization: University of Kansas Academic Computing Services
Lines: 7