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

Implement `whereis`

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
rust
領域
cli

調査の方向性

misc-utils/whereis.1.adoc から始め、必要な動作を元の C ソースコードと比較します。clap でコマンドラインの名前パターンに対する累積的な検索制限とリセットをどのように表現できるかを調査します。whereis を -b、-m、-s の文書化された動作で実装できれば完了です。

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

説明

Implementing https://github.com/util-linux/util-linux/blob/master/misc-utils/whereis.1.adoc

I'll am taking this up, but facing the following issue:

The search restrictions (options -b, -m and -s) are cumulative and apply to the subsequent name patterns on the command line. Any new search restriction resets the search mask. For example,

whereis -bm ls tr -m gcc

searches for "ls" and "tr" binaries and man pages, and for "gcc" man pages only.

whereis has sticky, resettable options and clap doesn't have a clear support for doing the same.
(The approach would be to use .trailing_var_arg(true) and use a simple match as in the original C source. This defeats the purpose of clap)

主要言語
Rust
スター
219
フォーク
59
平均マージ
4時間 8分
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

uutils/util-linux のほかの issue

uutils/util-linux の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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