From 07952d405d6281c5d941bcb251acb4987282d112 Mon Sep 17 00:00:00 2001 From: hjp Date: Sat, 12 Apr 1997 15:51:54 +0000 Subject: [PATCH] Added chartab. --- chartab/GNUmakefile | 5 +++++ chartab/chartab.c | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 chartab/GNUmakefile create mode 100644 chartab/chartab.c diff --git a/chartab/GNUmakefile b/chartab/GNUmakefile new file mode 100644 index 0000000..69563cf --- /dev/null +++ b/chartab/GNUmakefile @@ -0,0 +1,5 @@ +include GNUmakerules +chartab: +clean: + rm chartab +install: $(BINDIR)/chartab diff --git a/chartab/chartab.c b/chartab/chartab.c new file mode 100644 index 0000000..3dbd2c2 --- /dev/null +++ b/chartab/chartab.c @@ -0,0 +1,8 @@ +int main (int argc, char **argv) { + int i; + for (i = 0; i < 256; i++) { + printf ("%x %o %c\t", i, i, i); + if (i % 8 == 7) printf ("\n"); + } + return 0; +}