replace printf() with just a string by a puts()
no need to go on formatting just to print unmodified string
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
+#include <unistd.h>
#include <stdio.h>
#define MAX_FIELD 80 /* Pointers to the beginning of each field
switch (mode) {
case DUMP_STDIN:
- printf("%s", line);
+ puts(line, stdout);
break;
case OPTIONF:
}
if (maxcol == 1) {
if (flag_s != SET)
- printf("%s", line);
+ fputs(line, stdout);
} else {
for (i = 0; i < num_args; i++) {
for (j = args[i * 2]; j <= args[i * 2 + 1]; j++)