diff options
Diffstat (limited to 'badroff.c')
-rw-r--r-- | badroff.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/badroff.c b/badroff.c new file mode 100644 index 0000000..5149c23 --- /dev/null +++ b/badroff.c @@ -0,0 +1,18 @@ +#include <stdio.h> +#include "sb.h" + +int main(int argc, char** argv){ + FILE* in; + int c; + if (argc >= 2) + in = fopen(argv[1], "r"); + else + in = stdin; + if (in == NULL){ + perror(argv[1]); + return 1; + } + while ( (c = fgetc(in)) != EOF){ + + } +} |