I tried googling, but I found only additional packages handling this (which I would like to avoid for various reasons).
In Lua5.3, is there some way to resolve a symlink, possibly recursively, using just the standard library?
I'm looking for something equivalent to:
lua -lfs -e 'print(fs.realink("/proc/self/exe"))'
... only I don't have "fs" (and required "path") on my target.
Any way implementing this in pure lua using just the standard lib?