summary refs log tree commit diff
path: root/utils/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/convert.c')
-rw-r--r--utils/convert.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/convert.c b/utils/convert.c
new file mode 100644
index 0000000..2fc711e
--- /dev/null
+++ b/utils/convert.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+
+int main(void)
+{
+    int c;
+    while ((c = getchar()) >= 0)
+        printf("\\x%X", c);
+}