Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

sort: an invalid --parallel value is reported by clap, not as GNU does

オープン
#15,183 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@NdekoCode がすでに取り組んでいます。

2026年10月7日 から。

  • #15184 @NdekoCode による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
cli

調査の方向性

Start with the sort option parsing and the checks in sort/sort.pl mentioned in the issue, then compare the listed inputs with GNU 9.12 behavior. The open linked pull request #15184 means work is already under way; check its status before attempting changes. Done means invalid values produce the described GNU-style errors and exit status 2, while --parallel=+2 is accepted.

索引モデルが issue の本文から書いたものです。

説明

U - sort
$ sort --parallel=0 f
error: invalid value '0' for '--parallel <NUM_THREADS>': 0 is not in 1..18446744073709551615
$ sort --parallel=x f
error: invalid value 'x' for '--parallel <NUM_THREADS>': invalid digit found in string
$ sort --parallel=1x f
error: invalid value '1x' for '--parallel <NUM_THREADS>': invalid digit found in string

GNU 9.12 says sort: number in parallel must be nonzero, sort: invalid --parallel argument 'x' (also for -1 and an empty value) and sort: invalid suffix in --parallel argument '1x', with exit status 2, and accepts a leading + (--parallel=+2). uutils main at a5bc606e4. Part of what sort/sort.pl in #14705 checks.

主要言語
Rust
スター
24.3k
フォーク
2.1k
平均マージ
1日 18時間
マージ済み PR(30日)
313

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uutils/coreutils のほかの issue

uutils/coreutils の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。