summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/otibet/oct2otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/otibet/oct2otp.c')
-rw-r--r--Master/texmf-dist/source/latex/otibet/oct2otp.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/otibet/oct2otp.c b/Master/texmf-dist/source/latex/otibet/oct2otp.c
new file mode 100644
index 00000000000..54e1a88c862
--- /dev/null
+++ b/Master/texmf-dist/source/latex/otibet/oct2otp.c
@@ -0,0 +1,20 @@
+/*
+ * File: oct2otp.c
+ * Date: Thu Dec 18 14:39:34 1997
+ * Author: (norbert)
+ *
+ */
+
+#include <stdio.h>
+
+int main()
+{
+ int c;
+ while ((c=getchar())!=EOF) {
+ if (c>127)
+ printf("@'%o",c);
+ else
+ printf("%c",c);
+ }
+}
+