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

[REBOL] Re: clean-path

From: al:bri:xtra at: 4-Dec-2000 16:30

> What does clean-path do? I passed urls with .. and . in them to it, and
they are unchanged.
>> source clean-path
clean-path: func [ {Cleans-up '.' and '..' in path; returns the cleaned path.} target [file! url!] /local item file path mark mark2 marks dots dot dotdot target-copy][ if url? target [return target] ... Andrew Martin I have no words to speak, but I must rebol... ICQ: 26227169 http://members.nbci.com/AndrewMartin/