weird bash not found error in mac terminal
Image by Inha Leex Hale
why will one script(capture.sh) execute fine and the other (videochecker.sh) gives this weird bash error?
but then i saw they had different first lines.
one is /bin/sh and one is /bin/bash
weird thing to because the one that doesn’t work on this machine (/bin/bash) has been working fine on the other broadcaster mac min for several weeks. scripts still very mysterious to me.
so i change it so #!/bin/sh and #! /bin/sh still no go…
: No such file or directory#!/bin/sh
: command not foundline 2:
: command not foundline 5:
: command not foundline 7:
: command not foundline 9:
‘/videochecker.sh: line 72: syntax error near unexpected token `do
‘/videochecker.sh: line 72: `for f in *.mp4; do