Repository navigation
unexpand: allow --first-only to be given twice - #16015
Conversation
1cfa280 to
e566f73
Compare
|
Dropped the manual handling and used |
ef79439 to
be27bcc
Compare
be27bcc to
04e8ded
Compare
Merging this PR will not alter performance1 warning
Comparing Footnotes
|
|
a bunch of jobs are failing |
f1f123a to
76a7ccd
Compare
|
Failure Tests job 126024487176: The following Reason This is the known |
|
Failure The Build (macos-latest, x86_64-apple-darwin, feat_os_unix, true, PGO) job (126116058049) failed in test_tail::test_follow_symlink_appends: Reason This is the known intermittent failure tracked in #15568 on the macOS PGO runner. It is unrelated to the unexpand changes in this PR. Please rerun the job. |
|
Thanks! |
GNU unexpand accepts repeating --first-only, so
echo a | unexpand --first-only --first-onlyprintsa. uutils rejected the repeated flag with "cannot be used multiple times".This lets the flag override itself so repeats are accepted, matching GNU.
Adds a regression test.
Closes #15992