SYD-READ(1)

# 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

|[ *-h*
:< Display help.
|[ *-c* *n*
:< Cycle through the path list *n* times, useful for benchmarking.
|[ *-d* *dir*
:< Resolve relative to the given directory.
|[ *-p* *pid*
:< Resolve from the perspective of the given process ID.
|[ *-m*
:< All components of the paths must exist, conflicts with *-M*.
|[ *-M*
:< Last component must not exist, other components must exist, conflicts with *-m*.
|[ *-B*
:< Resolve beneath the given directory, useful with *-d dir*. Implies *-P*, conflicts with *-R*.
|[ *-R*
:< Treat the given directory as root directory, useful with *-d dir*. Implies *-P*, conflicts with *-B*.
|[ *-D*
:< Do not traverse through ".." components.
|[ *-X*
:< Do not traverse through mount points.
|[ *-F*
:< Do not follow symbolic links for any of the path components.
|[ *-N*
:< Do not follow symbolic links for the last path component.
|[ *-P*
:< Do not resolve /proc magic symbolic links.
|[ *-U*
:< Resolve unsafe /proc magic symbolic links.
|[ *-n*
:< Do not output the trailing delimiter.
|[ *-z*
:< End 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 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.
