From 75c74abf9249f6aee6dc22c4dbc345c4840181aa Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 21 Dec 2020 00:57:45 -0500 Subject: Create tools directory Signed-off-by: Malfurious --- hexbin.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 hexbin.c (limited to 'hexbin.c') diff --git a/hexbin.c b/hexbin.c deleted file mode 100644 index 9356fff..0000000 --- a/hexbin.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * hexbin.c - * - * This program takes no arguments, it simply interprets its input as hex - * and outputs bytes. - */ - -#include -#include - -int main() -{ - uint8_t b; - - while (1) - { - scanf("%hhx", &b); - if (feof(stdin)) - break; - fwrite(&b, 1, 1, stdout); - } - - return 0; -} -- cgit v1.2.3