Bash utility behaves like realpath(1).
. realpath.sh
realpath path/to/something
It outputs absolute path of the argument following symlinks recursively.
You need progrhyme/shove for testing.
Install shove, then run:
make
The MIT License.
Copyright (c) 2020 IKEDA Kiyoshi.