MacOS Compatibility
Adds (full?) MacOS compatibility - a brew setup is required
- On MacOS, ggrep (GNU grep from brew coreutils) is used instead of MacOS's regular grep (which does not feature some necessary options)
- Also replaces the readarray command, since it is not available everywhere
Please test if it still works on a non-MacOS machine before merging. Thank you