On Wed, May 15, 2013 at 07:52:30AM -0600, Todd C. Miller wrote: > If that's the case, can't we just do: > > if (donumber) { > (void)printf(format, width, line); > line += incr; > (void)fputs(sep, stdout); > } else { > (void)printf("%*s", width, ""); > } > (void)fwrite(buffer, linelen, 1, stdout);
Yeah. I was thinking something too complex.