landolt@yunexus.UUCP (Paul Landolt) (07/22/89)
I am looking to get ahold of a function that, given a relative file/ dir path, will return the absolute path. I believe a function named abpath() exists out there somewhere. If I haven't described it too quickly it is a function that 1) if I was looking for misc/fred.txt in my home directory, abpath() would return /usr/landolt/misc/fred.txt 2) if I was looking for ../smith/barney.txt, abpath would return /usr/smith/barney.txt In short, a function that can effectively parse a relative path and return the absolute path. My current solution to this problem is not at all pretty. Thanks in advance. -- J. Paul Landolt | It'll be done in another week, so Computing Services | GET OFF MY BACK! York University - Toronto, Canadia | --------------------------------- InterNet: landolt@nexus.YorkU.CA | My opinions. All mine. So sue me.