An extremely simple CLI to POSIX stdlib realpath()
$ curl -O -L \
https://gist.githubusercontent.com/mckern/3349ed18e7ff7e18b96e5a06942fbe11/raw/d8a330fe0fb7b6ad56b867d8b91f2c954536ef41/realpath.c
$ make realpath
$ mv realpath /usr/local/bin/
$ realpath
usage: realpath PATH
This program is provided "as-is" to the public domain, without express or implied warranty, for any non-profit use, provided this notice is maintained.