diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-20 02:46:41 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-20 02:46:41 +0100 |
commit | 64c85dfc1d3b546dd4b5f84168e9256817f3a741 (patch) | |
tree | e3de2e7a99362bfa1dfcde3d4bad3e76af179c61 /src/hexout.c | |
parent | 632c350fcf2021620afd032994e6e32c34c6dbfb (diff) |
clean up source directory
Diffstat (limited to 'src/hexout.c')
-rw-r--r-- | src/hexout.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/hexout.c b/src/hexout.c deleted file mode 100644 index 1af6805..0000000 --- a/src/hexout.c +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | |||
3 | int main() { | ||
4 | char tbl[] = "0123456789ABCDEF"; | ||
5 | int in; | ||
6 | |||
7 | while( ( in = getchar() ) != EOF ) { | ||
8 | putchar( tbl[in>>4]); | ||
9 | putchar( tbl[in&15]); | ||
10 | putchar( '\n' ); | ||
11 | } | ||
12 | return 0; | ||
13 | } | ||