This is really nice but it doesn't seem to work for me? I'm on the latest OSX version using bash
locally for my shell. Nothing fancy going on.
However when I run the script I see a couple different errors depending on how I choose to run it. I'm not a bash expert so I may be overlooking something here. 😁
I confirmed it's marked as executable
repo on master [$?] via ⬢ v10.18.1
❯ ls -l
total 1104
-rw-r--r-- 1 cbzehner staff 2514 Nov 10 21:19 README.md
-rwxr-xr-x 1 cbzehner staff 17805 Nov 10 22:04 changeauthor.sh
Just trying to run it as expected
Calling it with bash
directly gives a different error
repo on master [$?] via ⬢ v10.18.1 took 2s
❯ bash changeauthor.sh
: command not foundne 2:
: command not foundne 9:
: command not foundne 11:
: command not foundne 24:
: command not foundne 31:
: command not foundne 34:
: command not foundne 36:
'hangeauthor.sh: line 43: syntax error near unexpected token `in
'hangeauthor.sh: line 43: ` case "$1" in