TL;DR
やったこと
Brewfile
にcoreutils
ほかutilityを追加$PATH
と$MANPATH
を修正
brew install coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt grep export PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH" export PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" export PATH="/usr/local/opt/gawk/libexec/gnubin:$PATH" export PATH="/usr/local/opt/gnutls/libexec/gnubin:$PATH" export PATH="/usr/local/opt/gnu-indent/libexec/gnubin:$PATH" export PATH="/usr/local/opt/gnu-getopt/libexec/gnubin:$PATH" export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH" export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/findutils/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/gnu-tar/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/gnu-sed/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/gawk/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/gnutls/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/gnu-indent/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/gnu-getopt/libexec/gnuman:$MANPATH" export MANPATH="/usr/local/opt/grep/libexec/gnuman:$MANPATH"
どうしてやったのか
dotfilesを $HOME
に展開する上で、cpコマンドの-lオプションが便利だからです。
このオプション、BSDのcpコマンドにはなかったので...
結果
無事にGNUベースに置き換え成功しました!