Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: clean-path

From: arolls:bigpond:au at: 4-Dec-2000 14:49

You're right, The following works (on local files):
>> what-dir
== %/D/Anton/Dev/Rebol/view/
>> clean-path %..
== %/D/Anton/Dev/Rebol/ The following doesn't work (on urls):
>> clean-path http://users.bigpond.net.au/datababies/anton/../
== http://users.bigpond.net.au/datababies/anton/../
>> clean-path http://users.bigpond.net.au/datababies/anton/..
== http://users.bigpond.net.au/datababies/anton/.. 'clean-path claims that it accepts urls, so I guess the feature was forgotten to be implemented. You should report it to feedback, I reckon. Anton.