A minimal implementation of realpath for Mac OS X
C Makefile
Latest commit 1406b23 Jun 22, 2016 @harto committed on GitHub Note existence of GNU realpath for OSX
Permalink
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

README.md

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