Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

xargs: -x runs a pending command before rejecting an oversized argument

Aperta
#899 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@SichenLiang ci sta già lavorando.

Dal 13/10/2026.

  • #902 di @SichenLiang — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Reproduce with the given printf | xargs -x -s11 case and compare GNU vs uutils. Locate the xargs argument-batching and -x (exit if the command line is too long) path in this findutils crate; the bug is running a pending command before rejecting an oversized argument. Done is matching GNU: print nothing, report the too-long error, exit 1. The reporter already has a fix and plans a PR, so do not start unless that work is abandoned.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

$ printf 'ab cdefghijkl' | xargs -x -s11; echo $?

GNU prints nothing, reports xargs: argument line too long, and exits 1. uutils prints ab, reports Error: Argument too large, and exits 1. Without -x, both print ab before reporting the error.

I have a fix ready and will open the PR soon.

Lingua principale
Rust
Stelle
651
Fork
111
Merge medio
1g 13h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uutils/findutils

Tutte le issue di uutils/findutils

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.