diff: clustered short options such as -ut and -qst are rejected
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 276
- Fork
- 43
- Merge medio
- 1g 23h
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di uutils/diffutils
-
cmp: quiet mode compares full file sizes before applying -nForse già presa @SichenLiang l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
diff: `-y --tabsize=<huge>` overflows the column arithmetic (overflow-checks only)Forse già presa @sami-daniel l’ha presa 56 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
diff panics on an oversized inline context count (`-c`/`-u`/`-C`/`-U`): parse overflow and capacity overflowForse già presa @MsfPablo l’ha presa 51 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
uutils/diffutils#245 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
sdiff: fix the layout of unchanged rows, blank lines and cut tabsForse già presa @sami-daniel l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 28/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di uutils/diffutils
Issue simili
-
agent:triaged bug bughunt pm:npm priority:p1
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
SocketDev/socket-patch#1127 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
adorsys/status-list-server#619 ·
I maintainer di solito rispondono entro 2 giorni
-
batch-backport only backports the first 30 matching PRsForse già presa @DvirDukhan l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 5 giorni
-
Configuration-level resource: `Allocate` rejects the kubelet's re-offer of the same device for a later container of the same Pod ("Unable to claim slot")Forse già presa @fang80913 l’ha presa 38 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
project-akri/akri#854 ·