СЧЯСОПЏ.ҒLЁХ
CYRCONV is a funny faux cyrillic character mapper. By defaul it transliterates characters of a given input text to cyrillic (Lоок-Дlікё) counterparts, while remaining the readability of the text. Using .flex files CYRCON.FLEX can map any character set into a desired output set.
Installation & Usage
Installation
Compile the the program in the examples folder and move it to the destination folder
Note: Make sure you save the flex
files from the flex folder outside the project folder.
There is currently no installation routine and cyrconv does not look into /usr/local/etc for flex files by default.
Example:
General Usages
The program allows you to pipe a string to pass it as a single argument or as multiple arguments. If you want to use the flex option you have to pass them them as the first argument.
There are several ways Cyrconv can be used zext as arguments, piping (|) a source or reading from a file.
Examples:
|
|
' апd "
If you want to map a string that contains ' or " you have to escape the character or surround the string with the other one, that's not in the string.
Examples:
|
|
|
|
Via stdin (|) you can pass multiline text as well.
Example:
|
|
|
Счгсопѵ.dёfацlт
Maps a given input sentence into the default target character set.
The default mapping works without a .flex file.
cyrconv sentence
Example:
Счгсопѵ.flёх
The flex option allows you to load a custom character mapping file.
cyrconv flex {flex_file} sentence
Example:
The .flex file
The flex file is a simple text file that consists of two lines.
The first line is a string of characters that matches expected input characters.
The second line is a string that consists of characters of the desired output character set.
Both lines must have the same character count.
Nice to know
Сігсцмflёх
Btw, the character calle СІЯСЦМҒLЁХ ' ˇ ' maps into the character called СДЯОП ' ^ '.
Тнё Яцѕѕіап 1337
You can also combine different character sets. Keep in mind, that for each output there must be a flex file that provides the output as input.
Examples:
|
)
ог
)
Іf тнё Ѕоѵіёт Цпіоп наd шоп тнё Соld Шаг
Ѕёё fіlё "гцѕѕіап.соdё"
Currently available flex files
If you cannot see all characters in this section, you might have to install additional terminal fonts. See the Wiki for your linux distro for further information.
1337-l1t3.fl3x
Wh3n th3 s34gulls f0ll0w th3 tr4wl3r, 1t 1s b3(4us3 th3y th1nk s4r)1n3s w1ll b3 thr0wn 1nt0 th3 s34.
⠃⠗⠁⠊⠇⠇⠑.⠋⠇⠑⠭
Note: This is the correct transliteration from Latin to Braille.
⠺⠓⠑⠝⠀⠞⠓⠑⠀⠎⠑⠁⠛⠥⠇⠇⠎⠀⠋⠕⠇⠇⠕⠺⠀⠞⠓⠑⠀⠞⠗⠁⠺⠇⠑⠗,⠀⠊⠞⠀⠊⠎⠀⠃⠑⠉⠁⠥⠎⠑⠀⠞⠓⠑⠽⠀⠞⠓⠊⠝⠅⠀⠎⠁⠗⠙⠊⠝⠑⠎⠀⠺⠊⠇⠇⠀⠃⠑⠀⠞⠓⠗⠕⠺⠝⠀⠊⠝⠞⠕⠀⠞⠓⠑⠀⠎⠑⠁.
счгсопѵ.flёх
Шнёп тнё ѕёаgцllѕ fоllош тнё тгашlёг, іт іѕ вёсацѕё тнёч тніпк ѕагdіпёѕ шіll вё тнгошп іпто тнё ѕёа.
ჳeorჳia.flex
WႬeი ჯႬe Ⴝeaჳullჷ follow ჯႬe ჯrawler, iჯ iჷ ხeეauჷe ჯႬeႸ ჯႬiიk ჷarძiიeჷ will ხe ჯႬrowი iიჯo ჯႬe ჷea.
gͱεεκ.ϝιεϰ
Ψhεη ͳhε ϟεαgυιιϟ ϝοιιοω ͳhε ͳͱαωιεͱ, iͳ iϟ βεϛαυϟε ͳhεγ ͳhiηκ ϟαͱδiηεϟ ωiιι βε ͳhͱοωη iηͳο ͳhε ϟεα.
nkߋ
Wߚen ߙߚe Seߡgߎlls fߋllߋW ߙߚe ߠrߡWler? ߊߙ ߊs ߕeߏߡߎse ߙߚeߌ ߙߚߊnk Sߡr߄ߊnes Wߊll ߕe ߙߚrߋWn ߊnߙߋ ߙߚe seߡ,
ebg-13.syrk
Jura gur frnthyyf sbyybj gur genjyre, vg vf orpnhfr gurl guvax fneqvarf jvyy or guebja vagb gur frn.
ⵜⵊFⴷⵍⴷGⴼ.Fⵃⴺⵝ
Wⴼⴺⵍ ⵜⴼⴺ SⴺⴷGⵡⵃⵃS FⵙⵃⵃⵙW ⵜⴼⴺ ⵜRⴷWⵃⴺR, ⵊⵜ ⵊS BⴺⵎⴷⵡSⴺ ⵜⴼⴺⵖ ⵜⴼⵊⵍK SⴷRDⵊⵍⴺS Wⵊⵃⵃ Bⴺ ⵜⴼRⵙWⵍ ⵊⵍⵜⵙ ⵜⴼⴺ Sⴺⴷ.
Zzz.flёх
Zzzz zzz zzzzzzzz zzzzzz zzz zzzzzzz, zz zz zzzzzzz zzzz zzzzz zzzzzzzz zzzz zz zzzzzz zzzz zzz zzz.
_.flёх
The Library
From version 0.3.0 this repository contains the library and the program.