Fix indentation
This commit is contained in:
parent
078fce3f77
commit
ee8084cec0
6
nl.c
6
nl.c
|
@ -70,9 +70,9 @@ nl(FILE *fp)
|
||||||
|
|
||||||
while(afgets(&buf, &size, fp)) {
|
while(afgets(&buf, &size, fp)) {
|
||||||
if((mode == 'a')
|
if((mode == 'a')
|
||||||
|| (mode == 'p'
|
|| (mode == 'p'
|
||||||
&& !regexec(&preg, buf, 0, NULL, 0))
|
&& !regexec(&preg, buf, 0, NULL, 0))
|
||||||
|| (mode == 't' && buf[0] != '\n')) {
|
|| (mode == 't' && buf[0] != '\n')) {
|
||||||
printf("%6ld%s%s", n += incr, sep, buf);
|
printf("%6ld%s%s", n += incr, sep, buf);
|
||||||
} else {
|
} else {
|
||||||
printf(" %s", buf);
|
printf(" %s", buf);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user