On Mac OS X, if we have MacPorts installed, the GNU versions of utilities may take precedence over BSD versions. Particularly, there may be an issue with GNU split, which doesn't accept -p argument. Corrected.