[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcaca] Re: cute utility to invert strings
On mar, 2008-01-29 at 02:50 +0100, Jean-Yves Lamoureux wrote:
>
>
> On Mon, 28 Jan 2008 17:36:19 -0800, "Ben Wiley Sittler"
> <bsittler@gmail.com> wrote:
> >
> bmljZSEgaW4gZmFjdCBodHRwOi8vbGliY2FjYS56b3kub3JnL3RvaWxldC5odG1sIHdvcmtzIGZh
> >
> aXJseSB3ZWxsLAphbHRob3VnaCBpdCBsb29rcyBsaWtlIGl0IHVzZXMKYSBkaWZmZXJlbnQgdmVy
> [SNIP]
> >
> IHVuc3Vic2NyaWJpbmc/IFBsZWFzZSBjb250YWN0IDxzYW1Aem95Lm9yZz4KPiBMaXN0IGFyY2hp
> > dmVzIGFyZSBhdCBodHRwOi8vbGliY2FjYS56b3kub3JnL2xpc3QvCj4KPgo=
>
>
> Thank you, and Bsb29rcyBsaWtlI
After processing his mail through base64 -d you get :
nice! in fact http://libcaca.zoy.org/toilet.html works fairly well,
although it looks like it uses
a different version of the code.
FYI, the dotless "j" used in your message appears on my screen much
more like a rotated "r". probably that is just a poor choice of fonts,
but it means all the l's in the input rotate to r's visually, which is
amusing but not the intended effect.
-ben
On Jan 28, 2008 3:24 PM, Sam Hocevar <sam@zoy.org> wrote:
> On Fri, Jan 25, 2008, Ben Wiley Sittler wrote:
>
> > I realize this is a bit off-topic, since it does not seem to use
libcaca, but
> > i thought you might enjoy it still: http://www.revfad.com/flip.html
takes
> > an ASCII string and uses Unicode turned small letters to rotate the
string,
> > very similar to libcaca. for example: INPUT: Hello,
<libcaca@lists.zoy.org>!
> > Prepare to be reversed! turns into: ¡pǝsɹǝʌǝɹ ǝq oʇ ǝɹɐdǝɹd
> > ¡<ƃɹo˙ʎoz˙sʇsıl@ɐɔɐɔqıl> 'ollǝɥ :ʇnduı another round turns
> > that back into: input: hello, ! prepare to be reversed! Note that it
converts
> > to lowercase to better fit the available Unicode characters.
>
> Yeah, this is the kind of service that I had in mind when I wrote
the
> rotation filters in libcucul. TOIlet has direct support for it:
>
> % toilet -f term -F rotate
> INPUT: Hello, <libcaca@lists.zoy.org>! Prepare to be reversed!
> ¡pəsɹəʌəɹ əq oʇ əɹɐdəɹP ¡<ᵷɹo'ʎoz'sʇsᴉȷ@ɐɔɐɔqᴉȷ> ´oȷȷəH :TՈPNI
> % tr A-Z a-z | toilet -f term -F rotate
> INPUT: Hello, <libcaca@lists.zoy.org>! Prepare to be reversed!
> ¡pəsɹəʌəɹ əq oʇ əɹɐdəɹd ¡<ᵷɹo'ʎoz'sʇsᴉȷ@ɐɔɐɔqᴉȷ> ´oȷȷəɥ :ʇnduᴉ
> %
>
> --
> Sam.
> --
> This is the libcaca mailing-list, see http://libcaca.zoy.org/
> Trouble unsubscribing? Please contact <sam@zoy.org>
> List archives are at http://libcaca.zoy.org/list/
--
This is the libcaca mailing-list, see http://libcaca.zoy.org/
Trouble unsubscribing? Please contact <sam@zoy.org>
List archives are at http://libcaca.zoy.org/list/