Print the resolved absolute path.

Synopsis

realpath [FILE]...

Description

Print the resolved absolute pathname. All components of the path must exist. Runs in the just-bash WASM shell inside SLICC.

Examples

$ realpath ../file.txt

Print the absolute path of a relative file reference.

See Also

basename, dirname, pwd