Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site cbdkc1.UUCP
Path: utzoo!watmath!clyde!cbosgd!cbdkc1!ask
From: ask@cbdkc1.UUCP (AG)
Newsgroups: net.jokes
Subject: Re: Re: doing a ROT13
Message-ID: <1210@cbdkc1.UUCP>
Date: Mon, 11-Nov-85 17:47:21 EST
Article-I.D.: cbdkc1.1210
Posted: Mon Nov 11 17:47:21 1985
Date-Received: Tue, 12-Nov-85 04:47:47 EST
References: <492@isucs1.UUCP>
Reply-To: ask@cbdkc1.UUCP (A.S. Kamlet J-AG)
Followup-To: <492@isucs1.UUCP>
Distribution: na
Organization: AT&T Bell Laboratories, Columbus
Lines: 25
Keywords: rot

>>> this is prolly the wrong place to ask this, but how do you send a joke (or
>>> whatever) in ROT13???

>> I would like to know the answer to this as well.

> Create these aliases for the CSH:
> 
> alias rot tr 'A-Za-z' 'N-ZA-Mn-za-m'
> alias unrot tr 'N-ZA-Mn-za-m' 'A-Za-z'
> 
> To rot:  [place text in 'filename']
> 		rot < filename >filename.roted
> To unrot [derotate]: [place text in 'filename.roted']
> 		unrot < filename.roted >filename
> 
> There are also commands within some news reading systems to unrot text.
> 
> /\  Dave Shaver  -=*=-  Located at Iowa State University -- Ames, IA
> \/  UUCP: {okstate||umn-cs||csu-cs}!isucs1!shaver   CSNET: shaver@iowa-state


No! No! NO!   You have your rot & unrot exactly reversed!!!
              rot should be tr 'N-ZA-Mn-za-m' 'A-Za-z' and vice-versa. -:)
-- 
Art Kamlet  AT&T Bell Laboratories  Columbus {ihnp4 | cbosgd}!cbrma!ask