Utility executable. A bit like echo, but it reverses the text. Mirror of https://github.com/spenserblack/zatanna
0

Configure Feed

Select the types of activity you want to include in your feed.

C 74.8%
Shell 15.0%
Roff 4.9%
Makefile 4.4%
Dockerfile 1.0%
Other 0.1%
33 1 5

Clone this repository

https://tangled.org/spenser.black/zatanna https://tangled.org/did:plc:667v7tgyaj7qfpi5yp6uqaet
git@tangled.org:spenser.black/zatanna git@tangled.org:did:plc:667v7tgyaj7qfpi5yp6uqaet

For self-hosted knots, clone URLs may differ based on your setup.



README.md

zatanna#

CI

Description#

A utility executable that prints the text of each positional argument in reverse. Named after the DC character who speaks in reverse.

By default, each positional argument is printed in reverse, but order is maintained. You can reverse the order with -O or --reverse-order.

Multi-byte characters characters are supported, and should still display properly when reversed.

Example#

$ zatanna Hello, World!
,olleH !dlroW

# Preserve punctuation order and normalize casing
$ zatanna -p -c Hello, World!
Olleh, Dlrow!

# multi-byte characters are supported
$ zatanna "こんにちは"
はちにんこ

Installation#

Unix#

This will request and run a script that clones this repository to a temporary directory and runs make install.

curl -fsSL https://github.com/spenserblack/zatanna/raw/refs/heads/main/scripts/install.sh | sh