A minimal implementation of realpath for Mac OS X
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
.gitignore initial commit Nov 4, 2011
Makefile Improve Makefile Sep 24, 2015
README.md Note existence of GNU realpath for OSX Jun 21, 2016
realpath.c initial commit Nov 4, 2011


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