commit 805832befcb240920dac2a26a929f6b1ee47a8c0
Author: FRIGN <[email protected]>
Date: Sun Mar 22 17:38:22 2015 +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!
diff --git a/nl.c b/nl.c
index 10fe6d4..05c1a2a 100644
--- 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;
}