Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site reed.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!hao!hplabs!tektronix!reed!alexis From: alexis@reed.UUCP (Alexis Dimitriadis) Newsgroups: net.jokes Subject: Re: Saving rotated jokes unrotated Message-ID: <1585@reed.UUCP> Date: Fri, 31-May-85 05:59:13 EDT Article-I.D.: reed.1585 Posted: Fri May 31 05:59:13 1985 Date-Received: Sun, 2-Jun-85 20:32:15 EDT References: <5698@ucla-cs.ARPA> Reply-To: alexis@reed.UUCP (PUT YOUR NAME HERE) Organization: Reed College, Portland, Oregon Lines: 27 > OK, you asked for it. Here's my stylistic (:-) rotating/de-rotating program. > Reads from stdin and writes to stdout. > [...] > for(;;) putchar((c = getc(stdin)) == EOF > ? exit(0) > : isalpha(c) > ? isupper(c) > ? 'A' + (c + 13 - 'A') % 26 > : 'a' + (c + 13 - 'a') % 26 > : c); Have you considered submitting the above for the "Most Obfuscated C code Competetion"? :-) :-) ;-) -- _______________________________________________ As soon as I get a full time job, the opinions expressed above will attach themselves to my employer, who will never be rid of them again. alexis @ reed ...teneron! \ ...seismo!ihnp4! - tektronix! - reed.UUCP ...decvax! /