- :string
- or :nothing
normalize
get normalized version of given path
Parameters
normalize path :string :literal
Attributes
executable | treat path as executable | |
tilde | expand tildes in path |
Returns
Examples
copynormalize "one/../two/../../three" ; => ../three normalize "~/one/../two/../../three" ; => three
copynormalize.tilde "~/one/../two/../../three" ; => /Users/three normalize.tilde "~/Documents" ; => /Users/drkameleon/Documents
copynormalize.executable "myscript" ; => ./myscript