cat: fix "cat -An" ignoring -n; make numbering go througn all files
function old new delta cat_main 418 428 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -24,6 +24,7 @@ void FAST_FUNC print_numbered_lines(struct number_state *ns, const char *filenam
|
||||
fputs(ns->empty_str, stdout);
|
||||
free(line);
|
||||
}
|
||||
ns->start = N;
|
||||
|
||||
fclose(fp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user