realpath command for MoonX.
moonx cli/realpath existing.txt
moonx cli/realpath -m missing/path
moonx cli/realpath --relative-to=. existing.txt| Option | Description |
|---|---|
| -e, --canonicalize-existing | require every component to exist |
| -m, --canonicalize-missing | allow missing or non-directory components |
| -s, --strip | do not expand symbolic links |
| -z, --zero | terminate output with NUL |
| --relative-to VALUE | print relative to DIR |
| --help | Show help. |
| --version | Show the version. |