>I searched the FAQs for this, but I was unable to find it.
>I would like to do it in the Bourne shell. A way to obtain this if to
>`cd' to the relative path, do a `pwd' and then `cd' back to the
>starting default dir. Any better suggestion?
This assumes you don't prepend the raltive path with ./, ../,
or something like that. It will work anyway, but it won't look all that nice.
But if you just want to USE the path, it would do fine?
Also, another trap is symbolic links. Again, the path is USABLE, but you
might get an unwanted path since pwd does not report "your" view of where
you are, but the "real" path.
Peer Toerngren, WM-data Konsult AB, S Kyrkogatan 4, S-652 24 Karlstad (Sweden)
Tel: +46-(0)54/18 04 25 Fax: +46-(0)54/15 67 85
"Proper disclaimer applies wherever applicable."