commit 3ccfa1877dd43465fd105e1a8ba5b4b0c487ccc9
parent 377b5499e9dff629e3f90ca1b705756be7d036b5
Author: FRIGN <dev@frign.de>
Date: Sun, 22 Mar 2015 17:38:22 +0100
Don't print section-control-lines as empty lines in nl(1)
GNU coreutils may behave this way, but one can think of these lines
as consumed control lines.
Fuck GNU!
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/nl.c b/nl.c
@@ -57,7 +57,6 @@ nl(const char *fname, FILE *fp)
if (getsection(buf, §ion)) {
if ((section >= oldsection) && !pflag)
number = startnum;
- putchar('\n');
continue;
}