Should we standardize the `shebangs` for Bash ?
Open
long-term-plan
priority: low
type:question
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
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
Contributor guide
Research direction
Start by inventorying the shell-script shebangs across the repository and review the linked references to compare the listed forms. Define whether a single convention is appropriate, then update the affected scripts consistently; done means the chosen standard is applied and documented where relevant.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100