an 84 character self duplicator

trt at rti-sel.UUCP trt at rti-sel.UUCP
Fri Aug 31 14:04:00 AEST 1984


Ah!  Then here is a 76 character self duplicator.
It has the ugly feature that there is no trailing newline,
but the nice feature that it fits on one line on a standard crt screen.
(The following must be run once to eliminate white space, then
it will reproduce itself.)
main(){char*a="main(){char*a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);}
	Tom Truscott



More information about the Comp.sources.unix mailing list