aboutsummaryrefslogtreecommitdiff
path: root/libbb/print_numbered_lines.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cat,nl: fix handling of open errorsDenys Vlasenko2018-11-291-2/+8
| | | | | | | | | | | | | | | $ cat -n does_not_exist; echo $? cat: does_not_exist: No such file or directory 1 function old new delta print_numbered_lines 118 129 +11 nl_main 196 201 +5 cat_main 421 425 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 20/0) Total: 20 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cat: fix "cat -An" ignoring -n; make numbering go througn all filesDenys Vlasenko2017-07-141-0/+1
| | | | | | | function old new delta cat_main 418 428 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix errors found with make_single_applets.shDenys Vlasenko2017-04-121-0/+29
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>