Reference

syd-read(1)

Print resolved symbolic links or canonical file names

NAME

syd-read - Print resolved symbolic links or canonical file names

SYNOPSIS

syd-read [-hmnzBDFMNPRUX] [-c n] [-d dir] [-p pid] path...

DESCRIPTION

The syd-read utility prints resolved symbolic links or canonical file names. By default last component may exist, other components must exist.

OPTIONS

-hDisplay help.
-c nCycle through the path list n times, useful for benchmarking.
-d dirResolve relative to the given directory.
-p pidResolve from the perspective of the given process ID.
-mAll components of the paths must exist, conflicts with -M.
-MLast component must not exist, other components must exist, conflicts with -m.
-BResolve beneath the given directory, useful with -d dir. Implies -P, conflicts with -R.
-RTreat the given directory as root directory, useful with -d dir. Implies -P, conflicts with -B.
-DDo not traverse through ".." components.
-XDo not traverse through mount points.
-FDo not follow symbolic links for any of the path components.
-NDo not follow symbolic links for the last path component.
-PDo not resolve /proc magic symbolic links.
-UResolve unsafe /proc magic symbolic links.
-nDo not output the trailing delimiter.
-zEnd each output line with NUL not newline.

SEE ALSO

syd(1), syd(2), syd(5), readlink(1), realpath(3)

syd homepage: https://sydbox.exherbo.org/

AUTHORS

Maintained by Ali Polatel. Up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF. Bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. Discuss in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix.