1
0
This commit is contained in:
dtb 2023-12-21 22:16:20 -07:00
parent 52d46eaa1b
commit 8516533533

View File

@ -78,6 +78,7 @@ usage: fprintf(stderr, "Usage: %s (-1enot)"
t.c_lflag ^= ECHO;
tcsetattr(STDIN_FILENO, TCSAFLUSH, &t);
/* TODO redesign with fdopen(3) to use stdio for output */
do{ if((c = getc(stdin)) != eof || include_eof)
for(i = 0; i < (sizeof outputs)/(sizeof *outputs); ++i)
if(outputs[i] != 0