NAME

substitute-letters - replace Latin letters with Unicode lookalikes

SYNOPSIS

substitute-letters [--style STYLE] STRING [STRING ...]
echo "some text" | substitute-letters --style script
substitute-letters --list
substitute-letters -h

DESCRIPTION

Replaces every ASCII letter in the input with the corresponding character from the requested Unicode style (mathematical alphanumeric symbols, enclosed forms and similar ranges). In the styles bold, circled, doublestruck, fullwidth, monospace, parenthesized, sans_serif and sans_serif_bold digits 0-9 are substituted as well (except parenthesized has no glyph for 0). The fullwidth style also maps all printable ASCII punctuation to its fullwidth form, including _. The styles squared, negative_circled and negative_squared only cover uppercase letters. Spaces and other characters are never modified.

The input may be given as command-line arguments (joined with spaces) or piped via standard input.

OPTIONS

-s, --style STYLE

Style to apply. See --list for available styles. Defaults to monospace.

-l, --list

List all available styles, one per line, and exit.

-h, -?, --help

Print this help text and exit.

EXAMPLES

substitute-letters --style script 'Hello, World!'
substitute-letters -s fraktur route_id
echo mkdir folder_name | substitute-letters -s monospace
substitute-letters --list

SEE ALSO

Text::UnicodeStyle

Project repository: https://github.com/shoorick/substitute-letters

Bug reports and other issues: https://github.com/shoorick/substitute-letters/issues

LICENSE

https://opensource.org/licenses/MIT|MIT