Added chartab.

This commit is contained in:
hjp 1997-04-12 15:51:54 +00:00
parent f3ddab578b
commit 07952d405d
2 changed files with 13 additions and 0 deletions

5
chartab/GNUmakefile Normal file
View File

@ -0,0 +1,5 @@
include GNUmakerules
chartab:
clean:
rm chartab
install: $(BINDIR)/chartab

8
chartab/chartab.c Normal file
View File

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