[Openmcl-devel] Relative path symlinks
Ron Garret
ron at flownet.com
Sun May 18 17:42:26 PDT 2014
If I have the following situation:
[user at host:/path] ls -l relative-symlink
lrwxr-xr-x 1 ron staff 6 May 18 17:39 relative-symlink@ -> ../foo
Is there a CCL function (or a unix system call) that given the argument “/path/relative-symlink” will return the string “../foo”?
The reason I need this is that I’m writing a utility to verify the integrity of a backup, so I need to get the raw data out of a symlink, and not the fully resolved path.
Thanks,
rg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20140518/c3cc66a1/attachment.bin>
More information about the Openmcl-devel
mailing list