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; +}