xargs: -x runs a pending command before rejecting an oversized argument
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 28/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
$ 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.
- Ngôn ngữ chính
- Rust
- Star
- 651
- Fork
- 111
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của uutils/findutils
-
-printf %m and -ls drop setuid/setgid/sticky bits and the file typeCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
uutils/findutils#692 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
find on Windows: opt in to / as the path separatorCó thể đã có người làm @mutewinter đã nhận 6 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
Maintainer thường phản hồi trong vòng 1 ngày
-
find: -ls shows the time instead of the year for old filesCó thể đã có người làm @SichenLiang đã nhận 7 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 32/100
Maintainer thường phản hồi trong vòng 1 ngày
-
xargs: empty items are dropped with -0 and -dCó thể đã có người làm @SichenLiang đã nhận 17 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của uutils/findutils
Issue tương tự
-
llm translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BerriAI/litellm#47884 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(stubgen): `typing` / `_typeshed` imports are emitted above `from __future__ import annotations`Đang mởstubgen
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug-hunt confirmed good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: pcb area: rendering priority: high status: needs-triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Update webpki-root-certsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
rustls/rustls-platform-verifier#262 · 2 bình luận · 2 reaction ·