realpath
realpath copied to clipboard
A portable bash implementation of `realpath`.
It looks like [Travis CI changed their pricing](https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing) back in November of 2020 and no longer offer free plans. The CI for this repo (which was utilizing my [roundup-travis](https://github.com/morgant/roundup-travis) configuration,...
I have only informally tested this locally, so I can't prove it works, and I haven't had time to write tests. Idea is pretty simple: use `[[ -L` to check...
Currently the tests are performing scratch work (creating & deleting temporary files) in the project directory, but this is potentially unsafe. Instead, the tests should perform scratch work in the...
`realpath ./foo/this-is-a-symlink` fails to resolve the symlink. ``` pwd # assume we're in /home/cspotcode mkdir -p foo ln -s .. ./foo/this-is-a-symlink # ./foo/this-is-a-symlink points to .. (points to /home/cspotcode) realpath...