Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 11/03/84 (WLS Mods); site jendeh.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!astrovax!fisher!jendeh!haahr From: haahr@jendeh.UUCP (Paul Haahr) Newsgroups: net.jokes Subject: Re: Saving rotated jokes unrotated Message-ID: <162@jendeh.UUCP> Date: Tue, 4-Jun-85 23:33:37 EDT Article-I.D.: jendeh.162 Posted: Tue Jun 4 23:33:37 1985 Date-Received: Thu, 6-Jun-85 21:28:48 EDT References: <184@weitek.UUCP> <2398@mit-hermes.ARPA> <5698@ucla-cs.ARPA> Organization: Princeton University, Civil Engineering Lines: 13 > OK, you asked for it. Here's my stylistic (:-) rotating/de-rotating program. > Reads from stdin and writes to stdout. > > ... C code follows ... What is the point of this? Everyone has now seen the command tr A-Za-z N-ZA-Mn-za-m and the various alternatives to it for whatever version of tr they have. I know that net.jokes isn't the right place to talk about ideas like software tools, but code for doing that has been written many times before. When you want to search for a string in a file do you write "stylistic :-)" code or do you use grep/egrep/fgrep?