lucapiccinelli / lucapiccinelli/switch_commit
readarray doesn't exist on mac
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The script is very useful, but it's not possible to use on mac because readarray command (line 30) doesn't exist.
Possible alternatives:
- https://stackoverflow.com/questions/23842261/alternative-to-readarray-because-it-does-not-work-on-mac-os-x
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at line 30 of the Bash script and inspect how readarray is used. Use the linked macOS-compatible alternatives as a starting point, then verify that the script can switch between Git commits on macOS without changing its existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100