lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi, all,

To avoid reinventing the wheel, I thought I'd ask whether anyone has a
function that will return a relative path from absolute paths for the
current and destination directories? Something along the lines of:

function(curdir, destdir)
  return reldir

I googled around but found only a function that has dependencies.[1]


[1] <>

[Notice not included in the above original message:  The U.S. National
Security Agency neither confirms nor denies that it intercepted this