Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ut-ngp.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!decvax!genrad!panda!talcott!harvard!seismo!ut-sally!ut-ngp!lindley From: lindley@ut-ngp.UUCP (John L. Templer) Newsgroups: net.jokes.d Subject: Re: Rotating jokes (comments) Message-ID: <1367@ut-ngp.UUCP> Date: Sat, 23-Feb-85 22:18:34 EST Article-I.D.: ut-ngp.1367 Posted: Sat Feb 23 22:18:34 1985 Date-Received: Wed, 27-Feb-85 06:01:37 EST References: <248@tekred.UUCP> Organization: U.Texas Physics Department; Austin, Texas Lines: 22 In most news programs there is a built in command to decrypt rotated text. In readnews and vnews the command is 'D', we don't have rn, so I don't know what the command on that program is. But, this does not save a decrypted copy of the article. However, it is possible to improve on Ron's script by replacing the sed command: > sed\ > -e '/^$/,$y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/NOPQRSTUVWXYZABCDEFGHIJKLM/'\ > -e '/^$/,$y/abcdefghijklmnopqrstuvwxyz/nopqrstuvwxyzabcdefghijklm/'\ with a tr command: tr 'A-Za-z' 'N-ZA-Mn-za-m' If you use csh, then you can even put the line: alias rot tr 'A-Za-z' 'N-ZA-Mn-za-m' in your .cshrc file. That way you can use the ! command from vi or ex to rotate text in articles you post. -- John L. Templer University of Texas at Austin {allegra,gatech,seismo!ut-sally,vortex}!ut-ngp!lindley "Gongo Bunnies movin' in,