I'm trying to run linux scripts on the mac, but even brew's updated base64 doesn't support
-w0. I want something close to
base64 (GNU coreutils) 8.22
base64 1.5 from brew or the unknown version MacOs ships with whose binary's md5 is 718fe34e4012999c180f807fe323e7f1
I've had great luck by using iTerm and loading .bashrc to replace most bsd/mac utilities with gnu ones.
P.S. There is little reason to install the one from brew, as it line breaks by default and has no way to disable that "feature".