I have the command split installed. However I need the '--filter'argument, which is supported by gnu's split command. SO I need to install gnu split. How do I do that on my mac? I tried
$ brew install coreutils
but its already up to date. Then I tried doing
$ brew install split
$ brew install gnu-split
It says the command is not available:
Error: No available formula for gnu-split
How can I install any specific gnu command, on mac os (and linux as well)?