diff: clustered short options such as -ut and -qst are rejected
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Start by reproducing the clustered-option commands shown in the issue and inspect the diff command's option-parsing entry point. Compare the rejected forms with separate options, while reading the parser replacement context in #97, #193, and the dependency on #291. Done means -qst and -ut behave like their separated equivalents, including output and exit status.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
GNU documents that short options without arguments may be combined. uutils accepts these options separately, but rejects the combined forms.
$ printf 'a\nb\n' > a; printf 'a\nc\n' > b
$ diff -qst a b; echo $?
GNU diff 3.12 prints Files a and b differ and exits 1. uutils reports unrecognized option '-qst' and exits 2. diff -ut a b is rejected in the same way, while diff -q -s -t a b works.
#97 and #193 discuss replacing the option parser more generally.
I have a fix ready and will open the PR once #291 is merged, since it builds on that change.
- Linguagem predominante
- Rust
- Estrelas
- 276
- Forks
- 43
- Merge médio
- 2d 5h
- PRs com merge (30d)
- 7
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de uutils/diffutils
-
cmp: quiet mode compares full file sizes before applying -nTalvez já em andamento @SichenLiang assumiu há 4 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
diff: `-y --tabsize=<huge>` overflows the column arithmetic (overflow-checks only)Talvez já em andamento @sami-daniel assumiu há 55 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 1 dia
-
diff panics on an oversized inline context count (`-c`/`-u`/`-C`/`-U`): parse overflow and capacity overflowTalvez já em andamento @MsfPablo assumiu há 50 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
uutils/diffutils#245 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
sdiff: fix the layout of unchanged rows, blank lines and cut tabsTalvez já em andamento @sami-daniel assumiu há 1 dia. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 28/100
Mantenedores costumam responder em até 1 dia
Todas as issues de uutils/diffutils
Issues semelhantes
-
agent/sec-check hive/hive-school-tunaos security
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
Sovereign-Labs/sovereign-sdk#3070 ·
-
Accepts Invalid URLAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
area:prove bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Chelis-Lang/chelis#3317 ·
Mantenedores costumam responder em até 1 dia
-
[macOS Desktop] New sidebar hover navigation accidentally switches sections while reaching a chatAbertaapp bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 1 dia