Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site fortune.UUCP Path: utzoo!linus!decvax!harpo!ihnp4!fortune!rpw3 From: rpw3@fortune.UUCP Newsgroups: net.wanted Subject: Re: Info on ROT Wanted - (nf) Message-ID: <2272@fortune.UUCP> Date: Fri, 13-Jan-84 04:06:25 EST Article-I.D.: fortune.2272 Posted: Fri Jan 13 04:06:25 1984 Date-Received: Sat, 14-Jan-84 03:04:58 EST Sender: notes@fortune.UUCP Organization: Fortune Systems, Redwood City, CA Lines: 26 #R:micomvax:-23100:fortune:12300011:000:920 fortune!rpw3 Jan 12 22:35:00 1984 The easiest way is with 'tr' and 'vi'. Take the following sentence: Q: Here is a test sentence to try "rot" out on. Hey! Now put your cursor on the line (in 'vi') and type "!!tr a-zAZ a-zaB-XA" (copied from another newsgroup, where it was noted non-Berkeley 'tr' needs [a-z][A-Z]) and the line will magically disappear and come back as R: Ifsf jt b uftu tfoufodf up usz "spu" pvu po. Ifz! That is a "rot 1" (or maybe -1). I leave it to you to figure out the letters for rot 13 (you want to decode it with rot -13). In any case, when you have scripts ('rot+' and 'rot-' ?) you can pipe through, compose in 'vi' with "!!rot+" (or "!}rot+" for a paragraph, and read it (from notes) by "saving" it in "|rot-". (And I may have + and - all wrong.) Rob Warnock UUCP: {sri-unix,amd70,hpda,harpo,ihnp4,allegra}!fortune!rpw3 DDD: (415)595-8444 USPS: Fortune Systems Corp, 101 Twin Dolphins Drive, Redwood City, CA 94065