borisguery/git-keywords-checker

Mac OSX: done < <(.. throws errors

maxmarkus opened this issue · 1 comments

Unfortunately this does no work on Mac OSX (Yosemite).
´´´
./git-pre-commit.sh: line 58: syntax error near unexpected token <' ./git-pre-commit.sh: line 58: done < <(grep -sEnH $KEYWORDS_REGEX $FILE)'
´´´
https://github.com/borisguery/git-keywords-checker/blob/master/pre-commit#L58

I've never used that syntax and don't know what it should to, so I'm not able to change it :-/

Yep, same problem here. I've never seen that syntax too