Should we standardize the `shebangs` for Bash ?
未關閉
long-term-plan
priority: low
type:question
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 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
貢獻指南
研究方向
首先,盤點整個程式碼儲存庫中的 shell 指令碼 shebang,並檢視連結的參考資料,以比較其中列出的形式。確定採用單一慣例是否合適,然後一致地更新受影響的指令碼;當所選標準已套用並在相關位置完成文件記錄時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- bash, shell
- 領域
- tooling
- Issue 類型
- 重構
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100