🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #25054

Re: Howto create rot13 text?

#25054
From: Dan Ts'o
Date: Mon, 19 Aug 1996 00:00
39 lines
2390 bytes
Kevin Martin (cannon@nic.com) wrote:
: :>tsr@cave.isdn.cs.tu-berlin.de (Tobias Richter) writes:
: :>>It is very easy to decode these rot13 messages, but I didn't find
: :>>an easy way to create such text. Who do you do this?

	The thing about rot13 is that a 2nd pass bring you back the original,
so whatever you used to decode you could use to encode.

: :Unix has the 'tr' ("translate characters") command which you could
: :use.  The command syntax is the following:
: :
: :tr "a-zA-Z" "n-za-mN-ZA-M"
: :
: :Edit your letter/file and use it as input and redirect your output
: :to another file or where ever.

: I'm almost embarrassed to admit this, but I wrote a Visual Basic
: program to ROT13 the Windows Clipboard.  It's usually more 
: appropriate or desirable to rotate a sentence or a paragraph
: than an entire file, after all.

	That's the difference between Unix and Windows. Most Unix editors
with which one would compose mail and articles with have a easy way of
directing sections of text through arbitrary filter programs. And having a
collection general purpose tools like 'tr' have a lot of intrinsic power.
So, no need to write special programs and shuttle back and forth through a
clipboard. Just tell your editor with a couple of keystrokes to push your
chosen text through a filter.

--
			Cheers,
			Dan Ts'o			212-327-7671
                        Dept. of Neurobiology   	FAX: 212-327-7671
                        The Rockefeller University
                        1230 York Ave.  Box 138		dantso@cris.com
                        New York, NY  10021     	dan@dna.rockefeller.edu

Technical Details
Message-ID: <DwD1y5.8x9@rockyd.rockefeller.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <Dw4sGF.J84@cave.isdn.cs.tu-berlin.de> <4uv48a$cbp@avalon.oit.gatech.edu> <4v23db$jtv@spruce.citicorp.com>

Show Full Headers
Complete Article Headers
Message-ID: <DwD1y5.8x9@rockyd.rockefeller.edu>
Subject: Re: Howto create rot13 text?
Date: Mon, 19 Aug 1996 00:00:00 +0000
From: dan@dnn.rockefeller.edu (Dan Ts'o)
References: <Dw4sGF.J84@cave.isdn.cs.tu-berlin.de> <4uv48a$cbp@avalon.oit.gatech.edu> <4v23db$jtv@spruce.citicorp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 174999338
Distribution: citi
Sender: notes@rockyd.rockefeller.edu (News Administrator)
X-nntp-posting-host: dnn.rockefeller.edu
Organization: Rockefeller University
Newsgroups: news.software.readers