#! /bin/shecho "$(cd "$(dirname "$1")"; pwd -P)/$(basename "$1")"
↧
Answer by dogbane for How to obtain the absolute path of a file via Shell (BASH/ZSH/SH)?
↧
#! /bin/shecho "$(cd "$(dirname "$1")"; pwd -P)/$(basename "$1")"