On 12/6/07, Michael L Torrie <[EMAIL PROTECTED]> wrote:
> If the script was invoked like this,
>
> foo ../bar
>
> then I need foo to be able to get a path that's the real, reduced path,
> without any dots in it.  In other words, `pwd`/../bar is not going to
> work.
>
> Any tips?

Write the script in python and use os.path.abspath :)

-Jonathan

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to