use functions instead of aliases to mask the BSD coreutils with the GNU ones