Should we standardize the `shebangs` for Bash ?
オープン
long-term-plan
priority: low
type:question
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 32
説明
In the code I see different shebangs for shell scripts:
- `#!/bin/bash`
- `#!/usr/bin/env bash`
- `#!/usr/bin/bash`
- `#!/bin/sh`
https://en.wikipedia.org/wiki/Shebang_(Unix)
https://stackoverflow.com/questions/10376206/what-is-the-preferred-bash-shebang
コントリビューションガイド
調査の方向性
まず、リポジトリ全体にあるシェルスクリプトの shebang を一覧化し、リンクされた参照を確認して記載されている形式を比較します。単一の規約が適切かどうかを定義し、その後、影響を受けるスクリプトを一貫して更新します。選択した標準が適用され、必要な箇所に文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, shell
- 領域
- tooling
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100