Just to add one more possible complication to your scenario. Depending on the 
software or the UNIX admin people, you may need to worry about symbolic links 
at a UNIX level.

For example, lets say you are in Unidata in the directory /usr/ud/ROD. In the 
VOC for this directory is a file called RODS.FILE, where the VOC entry looked 
like:

1. D
2. RODS.FILE
3. D_RODS.FILE

It would appear that this file lived in the current directory where the VOC is. 
But at a UNIX level, there could be a symbolic links that says:

lrwxrwxrwx   1 root     udtgrp     34 Mar  6 20:18 ROD.FILE -> 
/usr/ud/SUSAN/RODS.FILE

So RODS.FILE is really lives in another directory called SUSAN.

The person doing this should have changed the VOC pointer. But a lot of times 
UNIX (Unidata phobic) types will move the file to keep a file system from 
filling up and create a symbolic link to where it lives now.

Just thought I would throw that scenario out there just in case you had not 
thought about it. -Rod

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Susan Joslyn
Sent: Monday, March 12, 2007 1:35 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Help with File Pointers


Hi group.

 

I'm trying to compare two file pointers to see if they are the same. Like
this example:

 

../../this.path/that.path/BANANA

 

And 

 

/u1/ud/this.path/that.path/BANANA

 

I think what I'd want to do is start by resolving a path that had the
relative path indicators ../ in it.  Anyone know an easy way to do that?

 

Likewise, paths can begin with @UDTHOME (and something similar on Universe?)

 

Anyone know of a comprehensive list of the options on both platforms (all I
know about is the ../.. stuff for "like this path" and @UDTHOME for the udt
home path variable (PATH = GETENV(UDTHOME)) and the easiest way to resolve
them?

 

Susan

P.s. digest subscriber, so copy me directly or be patient for my response!
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to