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

install.sh fails when awk is not installed

オープン 初心者向け
#149 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
bash, shell
領域
build-system, cli

調査の方向性

問題は infra/release/install.sh にあります。まず、スクリプト、特に awk が呼び出されている33行目を調べてください。マニフェストの解析とチェックサム検証のロジックを理解します。awk の呼び出しを、パラメータ展開や while-read ループなどの Bash 組み込み機能に置き換えます。修正したインストーラーをクリーンな環境(awk がインストールされていない Fedora WSL コンテナなど)でテストし、動作することを確認します。インストール後もシェルプロファイルが正しく更新されることを確認してください。

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

説明

untriaged
What do you want to change?

I’d like to remove the hard dependency on awk from infra/release/install.sh so the documented Bash installer also works in environments where awk is not installed.

Why?

In the Fedora Linux 44 WSL environment I tested, no awk implementation was initially installed. The documented installation command failed while reading the release manifest:

bash: line 33: awk: command not found

The README does not list awk as a prerequisite, and the installer does not check for it before use.

How? (optional)

I plan to replace the current awk calls with Bash built-ins while preserving the existing manifest parsing, checksum verification, and shell-profile update behavior, with regression coverage for installation without awk.

If this approach is acceptable, I’d like to implement it and submit a PR.

主要言語
TypeScript
スター
54
フォーク
20
平均マージ
4時間 1分
マージ済み PR(30日)
12

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

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

はじめの一歩

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

stepfun-ai/Step-Code のほかの issue

stepfun-ai/Step-Code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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