1# If present, use GNU Coreutils instead of a native BSD utils 2if command -v gdate >/dev/null 3 then 4 date () { gdate "$@"; } 5 base64 () { gbase64 "$@"; } 6 wc () { gwc "$@"; } 7 sed () { gsed "$@"; } 8 sha256sum () { gsha256sum "$@"; } 9 fi 10