Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site haring.UUCP
Path: utzoo!linus!security!genrad!decvax!mcvax!turing!haring!jim
From: jim@haring.UUCP
Newsgroups: net.sources
Subject: Re: Thompsons self duplicating program
Message-ID: <284@haring.UUCP>
Date: Wed, 22-Aug-84 23:33:39 EDT
Article-I.D.: haring.284
Posted: Wed Aug 22 23:33:39 1984
Date-Received: Thu, 23-Aug-84 03:49:59 EDT
References: <3461@cbscc.UUCP> <119@scc.UUCP>
Organization: CWI, Amsterdam
Lines: 28
Apparently-To: rnews@turing.LOCAL

> From: steiny@scc.UUCP
> 
> ***
> 
> This probably belongs in net.unix and not net.sources, I am 
> sure we will find out, but ...  This one is much shorter, Thomson must
> not read Byte:
> 
> main(){char q='"',*s="\\main(){char q='%c',*s=%c%c%.54s%c%s%.33s%cn%c;printf(\
> s+1,q,q,*s,s,*s,s+87,s+54,*s,q);}\n";printf(s+1,q,q,*s,s,*s,s+87,s+54,*s,q);}

Somebody must not be reading the EUUG Newsletter either:

	From EUUGN Vol 3. No. 4

	extracted from 'Some Self-Reproducing Programs' by Theo de Ridder
	....
	....
	selfcopy2.c

	char p[]="char p[]=%c%s%c;%cmain(){printf(p,042,p,042,012,012);}%c";
	main(){printf(p,042,p,042,012,012);}
	....
	....
So, have fun with this SOURCE code. As usual, any comments, bug-fixes,
improvements......

Jim McKie  Centrum voor Wiskunde en Informatica, Amsterdam  mcvax!jim