diff options
| author | Nakidai <nakidai@disroot.org> | 2025-01-08 00:15:39 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-01-08 00:15:39 +0300 |
| commit | 25e032edf81da24358f08dbe71d55891b27b26ff (patch) | |
| tree | 4bfbbb2f20f841e10b8c1d10fea6afe19843672e | |
| parent | f1f118eab699b396ecfa21dff9c553bed876e3a8 (diff) | |
| download | tr2cyr-25e032edf81da24358f08dbe71d55891b27b26ff.tar.gz tr2cyr-25e032edf81da24358f08dbe71d55891b27b26ff.zip | |
Add some docs
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | README | 12 | ||||
| -rw-r--r-- | README.7 | 16 | ||||
| -rw-r--r-- | tr2cyr.1 | 100 |
4 files changed, 131 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 607a790..55836a3 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,12 @@ README: README.7 mandoc -Tascii $< | col -b > $@ install: tr2cyr - install -d ${DESTDIR}/bin + install -d ${DESTDIR}/bin ${DESTDIR}/share/man/man1 install -m755 tr2cyr ${DESTDIR}/bin + install -m644 tr2cyr.1 ${DESTDIR}/share/man/man1 uninstall: - ${RM} ${DESTDIR}/bin/tr2cyr + ${RM} ${DESTDIR}/bin/tr2cyr ${DESTDIR}/share/man/man1/tr2cyr.1 clean: ${RM} tr2cyr diff --git a/README b/README new file mode 100644 index 0000000..871d6a6 --- /dev/null +++ b/README @@ -0,0 +1,12 @@ +TR2CYR LOCAL TR2CYR + +NAME + tr2cyr - Convert transliteration into cyrillic text + +DESCRIPTION + Just simple tool I made because I have nothing to do. + +SEE ALSO + tr2cyr(1) + + January 8, 2025 diff --git a/README.7 b/README.7 new file mode 100644 index 0000000..461aaa7 --- /dev/null +++ b/README.7 @@ -0,0 +1,16 @@ +.Dd January 8, 2025 +.Dt TR2CYR +. +.Sh NAME +.Nm tr2cyr +.Nd Convert transliteration +into cyrillic text +. +.Sh DESCRIPTION +Just simple tool +I made +because I have +nothing to do. +. +.Sh SEE ALSO +.Xr tr2cyr 1 diff --git a/tr2cyr.1 b/tr2cyr.1 new file mode 100644 index 0000000..9a4bd56 --- /dev/null +++ b/tr2cyr.1 @@ -0,0 +1,100 @@ +.Dd January 7, 2025 +.Dt TR2CYR +.Os +. +.Sh NAME +.Nm tr2cyr +.Nd Convert transliteration +into cyrillic text +. +.Sh SYNOPSIS +.Nm +. +.Sh DESCRIPTION +.Nm +is a simple tool +to convert transliteration +into cyrillic text. +It reads +.Xr stdin 3 +and prints output +to its +.Xr stdout 3 . +. +.Pp +.Nm +converts +according to the table below +.Bl -tag -width Ds +.It Sy a +а +.It Sy b +б +.It Sy v +в +.It Sy g +г +.It Sy d +д +.It Sy e +е +.It Sy yo +ё +.It Sy yz +ж +.It Sy z +з +.It Sy i +и +.It Sy j +й +.It Sy k +к +.It Sy l +л +.It Sy m +м +.It Sy n +н +.It Sy o +о +.It Sy p +п +.It Sy r +р +.It Sy s +с +.It Sy t +т +.It Sy u +у +.It Sy f +ф +.It Sy h +х +.It Sy c +с +.It Sy yc +ч +.It Sy ys +ш +.It Sy yg +щ +.It Sy y" +ъ +.It Sy yi +ы +.It Sy y' +ь +.It Sy ye +э +.It Sy yu +ю +.It Sy ya +я +.El +. +.Sh BUGS +You can tell me +about bugs you encountered +.Lk https://github.com/nakidai/tr2cyr/issues/new here . |