Mercurial > repo
view interps/c-intercal/pit/rot13.doc @ 3904:49ab5b2e2ebf
<boily> echo -e "#!/usr/bin/env python\\n# -*- encoding: utf-8 -*-\\nimport sys\\nimport unicodedata\\ntry:\\n print u\'\'.join(map(unicodedata.lookup, sys.argv[1:])).encode(\'utf-8\')\\nexcept KeyError:\\n print u\'Unknown character.\'" >bin/unicode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 15:25:39 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
From: jlm@cco.caltech.edu (Jacob Mandelson) Newsgroups: alt.lang.intercal Subject: Re: ROT-13 Date: 7 Jun 1993 21:36:40 GMT Organization: California Institute of Technology, Pasadena Message-ID: <1v0cd9INN8gk@gap.caltech.edu> Here's an intercal program that encodes/decodes rot13 documents: [Program moved to separate file and modified to satisfy the politeness rules, LHH 5/11/96.] -- Jacob Mandelson jlm@cco.caltech.edu Electrical engineers do it with less resistance.