Tree @master (Download .tar.gz)
realpath
Version 1.0-2022.0908 | Entry @ catseye.tc | See also: ellsync ∘ tagfarm ∘ shelf
This is Cat's Eye Technologies' realpath
, a simple command-line tool that
resolves relative file paths to absolute ones. It:
- is written in Python 3 (tested with 3.8.10)
- is small and has no dependencies besides Python
- is in the public domain (see
UNLICENSE
) - is trivial
- is not feature-compatible with GNU realpath
- has no build/install system; either copy it to somewhere on your
search path, or alter your search path to include the
script
directory in this repo, or use some system that solves this problem, like shelf.
Usage
realpath PATH
Related work
- realpath_1 — GPL'ed, and contains an unbuildable C version (nested comments) and an incompatible Perl version of realpath.
- dtjm/realpath — claims to be "public domain" but is restricted to "non-profit use", which in my IANAL opinion is a contradiction in terms.
Commit History
@master
git clone https://git.catseye.tc/realpath/
- Update links in "see-also bar". Chris Pressey 1 year, 25 days ago
- Add "see-also bar" to README. Chris Pressey 2 years ago
- Remove Mercurial support from this repo. Chris Pressey 2 years ago
- Merge pull request #1 from catseye/develop-2.0 Chris Pressey (commit: GitHub) 2 years ago
- Update to use Python 3. Chris Pressey 2 years ago
- Added tag 1.0 for changeset c346741c6242 Cat's Eye Technologies 10 years ago
- Tweaks to README. Cat's Eye Technologies 10 years ago
- Clarify a few small things. Cat's Eye Technologies 10 years ago
- Initial import of files for `realpath`. Cat's Eye Technologies 10 years ago