cut: code shrinkmaster
commit14f57f5357cb674b88e7cdaff6267bf9d84c6b80
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Dec 2024 23:43:45 +0000 (21 00:43 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Dec 2024 23:43:45 +0000 (21 00:43 +0100)
tree2f90b79cb88bc02a5da30c058818ad131ac04026
parent1ea89fa98a7c4b1b6924f136963c91caf5a5dccb
cut: code shrink

move "linenum" manipulations to the one place where it is used.

function                                             old     new   delta
cut_main                                            1373    1360     -13

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/cut.c