Repository navigation
Conversation
|
GNU testsuite comparison: |
0b67b2d to
6dc0c1b
Compare
Merging this PR will degrade performance by 55.27%2 warnings, 1 note
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
6dc0c1b to
8875a3f
Compare
8f7d652 to
c3bb223
Compare
|
thanks for the work on this! |
bc60cf3 to
d5241e1
Compare
|
Binary size comparison: |
|
CI failure analysis: |
95ef792 to
07db268
Compare
Problem
GNU validates every -c/-n value even when a later one overrides it:
head -c1-3 -n1reportsinvalid number of bytes: '1-3'and exits 1, while uutils only parsed the surviving value and printed the input.tail --bytes 1,2 --lines 2had the same problem.Change
Extract every literal -c/-n value from the raw command line (including overridden ones) in uucore, then validate each one in
headandtail. Obsolete numeric syntax is left to the existing parser. Added regression tests for both commands.Closes #15997