MacOS and BSDs are bundled with BSD's versions of "grep" and "du". - grep - Invalid option: P - Version: grep --version outputs: grep (BSD grep, GNU compatible) 2.6.0-FreeBSD - Potential fix: [change the regex used from PCRE to BRE or ERE](https://stackoverflow.com/questions/77662026/grep-invalid-option-p-error-when-doing-regex-in-bash-script) - Path: tests/test_app.py (l.409) - du - Invalid option: b - Version: man du outputs: 4.3BSD-Reno - Potential fix: ? - Path: tests/test_scripts.py (l.210)
MacOS and BSDs are bundled with BSD's versions of "grep" and "du".