/realpath-osx

A minimal implementation of realpath for Mac OS X

Primary LanguageC

realpath for OS X

a.k.a. "the only useful C program I ever wrote"

A minimal implementation of realpath(1) which is included in most UNIX distributions, but not Mac OS X.

To install:

$ git clone https://github.com/harto/realpath-osx.git
$ cd realpath-osx
$ make
$ sudo make install

GNU realpath

If you want a "real" implementation of this command, the GNU version is available via the coreutils Homebrew formula:

brew install coreutils