Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: