Commit f7357a40fb00dddda7096881c42465d58d7b7aca Parent: d1895b15e40a0c1acd115a983c750986b28d2b3e Author: mcol <mcol@posteo.net> Date: 2020-10-25 18:57:01 +0000 Committer: mcol <mcol@posteo.net> Committed: 2020-10-25 18:57:01 +0000 add basic start to main code
bdf2flf.c Added
@@ -0,0 +1,26 @@ +#include <stdio.h> +#include <stdlib.h> + +#define PROGNAME "bdf2flf" + + +void bdf2flf(FILE * in, FILE * out) +{ +} + + +int main(int argc, char *argv[]) +{ + if (argc > 1) { + printf( + PROGNAME "< font.bdf > font.flf\n" + "bdf data is read from stdin and figlet font data is output to stdout.\n" + ); + exit(EXIT_SUCCESS); + } + + bdf2flf(stdin, stdout); + + (void)(argv); // shush the compiler + return 0; +}