Hacker News new | ask | show | jobs
by mhio 935 days ago
Actually nothing. The format seems to have come from a similar line that builds the script path..

    printf '%s/%s\n' "$(pwd -P)" "$(basename "$0")"
It's just been in place, in so many places, so long it's become unquestionable. So yes the `pwd -P` in this case will suffice.