about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-01-08 00:15:39 +0300
committerNakidai <nakidai@disroot.org>2025-01-08 00:15:39 +0300
commit25e032edf81da24358f08dbe71d55891b27b26ff (patch)
tree4bfbbb2f20f841e10b8c1d10fea6afe19843672e
parentf1f118eab699b396ecfa21dff9c553bed876e3a8 (diff)
downloadtr2cyr-25e032edf81da24358f08dbe71d55891b27b26ff.tar.gz
tr2cyr-25e032edf81da24358f08dbe71d55891b27b26ff.zip
Add some docs
-rw-r--r--Makefile5
-rw-r--r--README12
-rw-r--r--README.716
-rw-r--r--tr2cyr.1100
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 .