xargs: -x runs a pending command before rejecting an oversized argument
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
$ 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.
- 主要言語
- Rust
- スター
- 651
- フォーク
- 111
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uutils/findutils のほかの issue
-
-printf %m and -ls drop setuid/setgid/sticky bits and the file type対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
uutils/findutils#692 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
find on Windows: opt in to / as the path separator対応中かも @mutewinter が 5 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
メンテナーはふだん 1 日以内に返信
-
find: -ls shows the time instead of the year for old files対応中かも @SichenLiang が 7 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 32/100
メンテナーはふだん 1 日以内に返信
-
xargs: empty items are dropped with -0 and -d対応中かも @SichenLiang が 17 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
uutils/findutils の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
longbridge/gpui-kit#3620 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
mongodb/kingfisher#564 ·
メンテナーはふだん 1 日以内に返信
-
bug qq-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
corro-client drops the last byte of a response line that has no trailing newline対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
proxy: include denial_category in the "proxy request denied" log line対応中かも @sreyas-endor が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
nolabs-ai/nono#2172 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信