bug(sort): Multiple compress programs allowed
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 69/100
Research direction
Start with the sort command’s argument parsing and tests for --compress-program; the issue’s reproduction shows that passing the option twice is accepted, while GNU sort rejects it. Add a regression test for repeated options and check that sort reports an error for the second one.
Written by the indexing model from the issue text.
Description
Hi, uutils mainteners
this can be reproduced via
relunsec@relunsec:~/software/coreutils/target/debug$ ./sort --compress-program pwd --compress-program python3 a
hello
relunsec@relunsec:~/software/coreutils/target/debug$ gnusort --compress-program pwd --compress-program python3 a
gnusort: multiple compress programs specified
relunsec@relunsec:~/software/coreutils/target/debug$
as you can see uu sort accept multiple ones, gnu rejects it
- Dominant language
- Rust
- Stars
- 24.3k
- Forks
- 2.1k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 313
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uutils/coreutils
-
U - sort
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
uutils/coreutils#15598 · 1 comment ·
Maintainers usually reply within 1 day
-
U - sort
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
uutils/coreutils#15596 · 1 comment ·
Maintainers usually reply within 1 day
-
U - sort
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
od: `-S` with `-Ax` prints 7-digit hex offsets instead of 6Possibly taken A pull request linked to this issue is open or already merged. OpenU - od
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
nl: unnumbered lines are padded with width+1 spaces, ignoring the length of `-s`Possibly taken A pull request linked to this issue is open or already merged. OpenU - nl
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
All issues in uutils/coreutils
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
area:breg bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
registrystack/registry-stack#2307 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
farion1231/cc-switch#8696 · 1 comment ·
Maintainers usually reply within 1 day
-
C-bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
rust-lang/rust-analyzer#23547 ·
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenZeppelin/guardian#570 ·
Maintainers usually reply within 1 day