Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macOS uses bash 3.2 and the a[-1] feature to access the last element of an array was added on bash 4.1. Check https://unix.stackexchange.com/a/198788 for more details.
- Loading branch information