Arch manual pages

KPSEREADLINK(1) General Commands Manual KPSEREADLINK(1)

kpsereadlink - print contents of symbolic link

kpsereadlink file

If file is a symbolic link, print its contents (what it links to), and exit successfully. Exit with a failure otherwise.

On systems that do not support symbolic links, kpsereadlink will always fail.

kpsereadlink accepts the following options:
--help
Print help message and exit.
--version
Print version information and exit.

readlink(2)
1 March 2011 Kpathsea 6.3.1