summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/otibet/oct2otp.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:55:48 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:55:48 +0000
commitd94bb5b66774b54f215231eaaf5411a00aed69ee (patch)
treea985be1af0afe13eae8f064feca15c95eb9dcb43 /Master/texmf-dist/source/latex/otibet/oct2otp.c
parent376742d77b9114ed2263b5106e2545cd5e92f636 (diff)
trunk/Master/texmf-dist/source/latex/otibet
git-svn-id: svn://tug.org/texlive/trunk@427 c570f23f-e606-0410-a88d-b1316a301751
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);
+ }
+}
+