macOS comes with bash
(which is a GNU tool), macOS also comes with tools like ls
and chmod
(which are BSD tools, even though I don't know from which BSD flavor they come from).
Now does the GNU and BSD tools that comes with macOS gets modified by Apple (for example: does Apple remove some features from them or add some features to them), or does Apple leave them unmodified?